Dear Yahya,

Pls visit on below link,hope it will help to you.

http://www.ozgrid.com/forum/showthread.php?t=66674


On Wed, Jan 30, 2013 at 12:49 AM, Yahya Muhammad <yahya...@gmail.com> wrote:

>
> Dear Ashish
>
> This is what I want. But could not make it work in my file, which is
> attached. Please help.
>
>
> On Tue, Jan 29, 2013 at 5:22 PM, ashish koul <koul.ash...@gmail.com>wrote:
>
>> @Yahya............ Try the attached file
>>
>>
>> On Tue, Jan 29, 2013 at 6:15 PM, amar takale <amartak...@gmail.com>wrote:
>>
>>> Dear Yahya Muhamma & Anil,
>>> Sorry for that,I will post my query in a separate thread:
>>> Amar
>>>
>>> On Tue, Jan 29, 2013 at 6:14 PM, amar takale <amartak...@gmail.com>
>>> wrote:
>>> > Hi Anil,
>>> > Sorry for that,I will post my query in a separate thread:
>>> > Amar
>>> >
>>> > On Tue, Jan 29, 2013 at 4:41 PM, Yahya Muhammad <yahya...@gmail.com>
>>> wrote:
>>> >> Dear Amar
>>> >>
>>> >> Please read Forum Rule No. 2  and post your query in a separate
>>> thread:
>>> >>
>>> >> 2) Don't post a question in the thread of another member.
>>> >>
>>> >>
>>> >> On Tue, Jan 29, 2013 at 1:43 PM, amar takale <amartak...@gmail.com>
>>> wrote:
>>> >>>
>>> >>> Hi Anil,
>>> >>> I want Ascending & Decending data then how to VBA Code used.only I
>>> >>> click button which column on Ascending & Decending then that column
>>> >>> sort with other data.I send Example file pls see it
>>> >>> Appreciate the help.
>>> >>>
>>> >>> Regards
>>> >>> Amar
>>> >>>
>>> >>> On Tue, Jan 29, 2013 at 2:46 PM, Yahya Muhammad <yahya...@gmail.com>
>>> >>> wrote:
>>> >>> > Dear Anil
>>> >>> >
>>> >>> > Thanks again. However, here also the sorting occurs in the sheet,
>>> which
>>> >>> > I do
>>> >>> > not want.
>>> >>> >
>>> >>> >
>>> >>> > On Tue, Jan 29, 2013 at 9:25 AM, अनिल नारायण गवली
>>> >>> > <gawlianil8...@gmail.com>
>>> >>> > wrote:
>>> >>> >>
>>> >>> >> Dear Yahya,
>>> >>> >>
>>> >>> >> See the attached sheet .  is it ok??
>>> >>> >>
>>> >>> >> Wrm Regards,
>>> >>> >> Gawli Anil
>>> >>> >>
>>> >>> >> On Tue, Jan 29, 2013 at 11:47 AM, Yahya Muhammad <
>>> yahya...@gmail.com>
>>> >>> >> wrote:
>>> >>> >>>
>>> >>> >>>
>>> >>> >>> Dear Anil
>>> >>> >>>
>>> >>> >>> Thanks. However, I can't adapt this method , as my combo box is
>>> in a
>>> >>> >>> userform and I cannot sort the column in the worksheet.
>>> >>> >>>
>>> >>> >>>
>>> >>> >>> On Tue, Jan 29, 2013 at 9:12 AM, अनिल नारायण गवली
>>> >>> >>> <gawlianil8...@gmail.com> wrote:
>>> >>> >>>>
>>> >>> >>>> Dear *Yahya,*
>>> >>> >>>>
>>> >>> >>>> Pl see the attached sheet is it ok?
>>> >>> >>>>
>>> >>> >>>>
>>> >>> >>>> Warm Regards,
>>> >>> >>>> Gawli Anil
>>> >>> >>>>
>>> >>> >>>> On Tue, Jan 29, 2013 at 11:09 AM, Yahya Muhammad <
>>> yahya...@gmail.com>
>>> >>> >>>> wrote:
>>> >>> >>>>>
>>> >>> >>>>> Dears
>>> >>> >>>>>
>>> >>> >>>>> I have an excel userform with a combobox which select  the
>>> items
>>> >>> >>>>> from a
>>> >>> >>>>> column in a worksheet. This column can't be sorted. I would
>>> like to
>>> >>> >>>>> have the
>>> >>> >>>>> list in the combobox to get sorted ascending, while
>>> initializing the
>>> >>> >>>>> userform. I am now using below code to load the combobox with
>>> >>> >>>>> values. Can
>>> >>> >>>>> someone suggest the modification to be applied to this code?
>>> >>> >>>>>
>>> >>> >>>>> Thanks
>>> >>> >>>>>
>>> >>> >>>>>
>>> >>> >>>>> Private Sub UserForm_Initialize()
>>> >>> >>>>>
>>> >>> >>>>>     With Worksheets("Sheet1")
>>> >>> >>>>>     sq = .Range("A2:A" & .Cells(Rows.Count, 1).End(xlUp).Row)
>>> >>> >>>>>     cboFirstName.List = sq
>>> >>> >>>>>     Label1.Caption = .Range("A1").Value
>>> >>> >>>>>
>>> >>> >>>>>     Label2.Caption = .Range("B1").Value
>>> >>> >>>>>
>>> >>> >>>>>     Label3.Caption = .Range("C1").Value
>>> >>> >>>>>
>>> >>> >>>>>     cboFirstName.SetFocus
>>> >>> >>>>>
>>> >>> >>>>> End Sub
>>> >>> >>>>>
>>> >>> >>>>> --
>>> >>> >>>>> Join official Facebook page of this forum @
>>> >>> >>>>> https://www.facebook.com/discussexcel
>>> >>> >>>>>
>>> >>> >>>>> FORUM RULES
>>> >>> >>>>>
>>> >>> >>>>> 1) Use concise, accurate thread titles. Poor thread titles,
>>> like
>>> >>> >>>>> Please
>>> >>> >>>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and
>>> Need
>>> >>> >>>>> Advice will
>>> >>> >>>>> not get quick attention or may not be answered.
>>> >>> >>>>> 2) Don't post a question in the thread of another member.
>>> >>> >>>>> 3) Don't post questions regarding breaking or bypassing any
>>> security
>>> >>> >>>>> measure.
>>> >>> >>>>> 4) Acknowledge the responses you receive, good or bad.
>>> >>> >>>>> 5) Jobs posting is not allowed.
>>> >>> >>>>> 6) Sharing copyrighted material and their links is not allowed.
>>> >>> >>>>>
>>> >>> >>>>> NOTE : Don't ever post confidential data in a workbook. Forum
>>> owners
>>> >>> >>>>> and members are not responsible for any loss.
>>> >>> >>>>> ---
>>> >>> >>>>> You received this message because you are subscribed to the
>>> Google
>>> >>> >>>>> Groups "MS EXCEL AND VBA MACROS" group.
>>> >>> >>>>> To unsubscribe from this group and stop receiving emails from
>>> it,
>>> >>> >>>>> send
>>> >>> >>>>> an email to excel-macros+unsubscr...@googlegroups.com.
>>> >>> >>>>> To post to this group, send email to
>>> excel-macros@googlegroups.com.
>>> >>> >>>>> Visit this group at
>>> >>> >>>>> http://groups.google.com/group/excel-macros?hl=en.
>>> >>> >>>>> For more options, visit
>>> https://groups.google.com/groups/opt_out.
>>> >>> >>>>>
>>> >>> >>>>>
>>> >>> >>>>
>>> >>> >>>>
>>> >>> >>>>
>>> >>> >>>>
>>> >>> >>>> --
>>> >>> >>>> Thanks & Regards,
>>> >>> >>>> Gawli Anil Narayan
>>> >>> >>>> Software Developer,
>>> >>> >>>> Abacus Software Services Pvt Ltd
>>> >>> >>>>
>>> >>> >>>> --
>>> >>> >>>> Join official Facebook page of this forum @
>>> >>> >>>> https://www.facebook.com/discussexcel
>>> >>> >>>>
>>> >>> >>>> FORUM RULES
>>> >>> >>>>
>>> >>> >>>> 1) Use concise, accurate thread titles. Poor thread titles, like
>>> >>> >>>> Please
>>> >>> >>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
>>> >>> >>>> Advice will
>>> >>> >>>> not get quick attention or may not be answered.
>>> >>> >>>> 2) Don't post a question in the thread of another member.
>>> >>> >>>> 3) Don't post questions regarding breaking or bypassing any
>>> security
>>> >>> >>>> measure.
>>> >>> >>>> 4) Acknowledge the responses you receive, good or bad.
>>> >>> >>>> 5) Jobs posting is not allowed.
>>> >>> >>>> 6) Sharing copyrighted material and their links is not allowed.
>>> >>> >>>>
>>> >>> >>>> NOTE : Don't ever post confidential data in a workbook. Forum
>>> owners
>>> >>> >>>> and
>>> >>> >>>> members are not responsible for any loss.
>>> >>> >>>> ---
>>> >>> >>>> You received this message because you are subscribed to the
>>> Google
>>> >>> >>>> Groups "MS EXCEL AND VBA MACROS" group.
>>> >>> >>>> To unsubscribe from this group and stop receiving emails from
>>> it,
>>> >>> >>>> send
>>> >>> >>>> an email to excel-macros+unsubscr...@googlegroups.com.
>>> >>> >>>> To post to this group, send email to
>>> excel-macros@googlegroups.com.
>>> >>> >>>> Visit this group at
>>> >>> >>>> http://groups.google.com/group/excel-macros?hl=en.
>>> >>> >>>> For more options, visit
>>> https://groups.google.com/groups/opt_out.
>>> >>> >>>>
>>> >>> >>>>
>>> >>> >>>
>>> >>> >>>
>>> >>> >>> --
>>> >>> >>> Join official Facebook page of this forum @
>>> >>> >>> https://www.facebook.com/discussexcel
>>> >>> >>>
>>> >>> >>> FORUM RULES
>>> >>> >>>
>>> >>> >>> 1) Use concise, accurate thread titles. Poor thread titles, like
>>> >>> >>> Please
>>> >>> >>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
>>> >>> >>> Advice will
>>> >>> >>> not get quick attention or may not be answered.
>>> >>> >>> 2) Don't post a question in the thread of another member.
>>> >>> >>> 3) Don't post questions regarding breaking or bypassing any
>>> security
>>> >>> >>> measure.
>>> >>> >>> 4) Acknowledge the responses you receive, good or bad.
>>> >>> >>> 5) Jobs posting is not allowed.
>>> >>> >>> 6) Sharing copyrighted material and their links is not allowed.
>>> >>> >>>
>>> >>> >>> NOTE : Don't ever post confidential data in a workbook. Forum
>>> owners
>>> >>> >>> and
>>> >>> >>> members are not responsible for any loss.
>>> >>> >>> ---
>>> >>> >>> You received this message because you are subscribed to the
>>> Google
>>> >>> >>> Groups
>>> >>> >>> "MS EXCEL AND VBA MACROS" group.
>>> >>> >>> To unsubscribe from this group and stop receiving emails from
>>> it, send
>>> >>> >>> an
>>> >>> >>> email to excel-macros+unsubscr...@googlegroups.com.
>>> >>> >>> To post to this group, send email to
>>> excel-macros@googlegroups.com.
>>> >>> >>> Visit this group at
>>> http://groups.google.com/group/excel-macros?hl=en.
>>> >>> >>> For more options, visit https://groups.google.com/groups/opt_out
>>> .
>>> >>> >>>
>>> >>> >>>
>>> >>> >>
>>> >>> >>
>>> >>> >>
>>> >>> >>
>>> >>> >> --
>>> >>> >> Thanks & Regards,
>>> >>> >> Gawli Anil Narayan
>>> >>> >> Software Developer,
>>> >>> >> Abacus Software Services Pvt Ltd
>>> >>> >>
>>> >>> >> --
>>> >>> >> Join official Facebook page of this forum @
>>> >>> >> https://www.facebook.com/discussexcel
>>> >>> >>
>>> >>> >> FORUM RULES
>>> >>> >>
>>> >>> >> 1) Use concise, accurate thread titles. Poor thread titles, like
>>> Please
>>> >>> >> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
>>> Advice
>>> >>> >> will
>>> >>> >> not get quick attention or may not be answered.
>>> >>> >> 2) Don't post a question in the thread of another member.
>>> >>> >> 3) Don't post questions regarding breaking or bypassing any
>>> security
>>> >>> >> measure.
>>> >>> >> 4) Acknowledge the responses you receive, good or bad.
>>> >>> >> 5) Jobs posting is not allowed.
>>> >>> >> 6) Sharing copyrighted material and their links is not allowed.
>>> >>> >>
>>> >>> >> NOTE : Don't ever post confidential data in a workbook. Forum
>>> owners
>>> >>> >> and
>>> >>> >> members are not responsible for any loss.
>>> >>> >> ---
>>> >>> >> You received this message because you are subscribed to the Google
>>> >>> >> Groups
>>> >>> >> "MS EXCEL AND VBA MACROS" group.
>>> >>> >> To unsubscribe from this group and stop receiving emails from it,
>>> send
>>> >>> >> an
>>> >>> >> email to excel-macros+unsubscr...@googlegroups.com.
>>> >>> >> To post to this group, send email to
>>> excel-macros@googlegroups.com.
>>> >>> >> Visit this group at
>>> http://groups.google.com/group/excel-macros?hl=en.
>>> >>> >> For more options, visit https://groups.google.com/groups/opt_out.
>>> >>> >>
>>> >>> >>
>>> >>> >
>>> >>> >
>>> >>> > --
>>> >>> > Join official Facebook page of this forum @
>>> >>> > https://www.facebook.com/discussexcel
>>> >>> >
>>> >>> > FORUM RULES
>>> >>> >
>>> >>> > 1) Use concise, accurate thread titles. Poor thread titles, like
>>> Please
>>> >>> > Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
>>> Advice
>>> >>> > will
>>> >>> > not get quick attention or may not be answered.
>>> >>> > 2) Don't post a question in the thread of another member.
>>> >>> > 3) Don't post questions regarding breaking or bypassing any
>>> security
>>> >>> > measure.
>>> >>> > 4) Acknowledge the responses you receive, good or bad.
>>> >>> > 5) Jobs posting is not allowed.
>>> >>> > 6) Sharing copyrighted material and their links is not allowed.
>>> >>> >
>>> >>> > NOTE : Don't ever post confidential data in a workbook. Forum
>>> owners and
>>> >>> > members are not responsible for any loss.
>>> >>> > ---
>>> >>> > You received this message because you are subscribed to the Google
>>> >>> > Groups
>>> >>> > "MS EXCEL AND VBA MACROS" group.
>>> >>> > To unsubscribe from this group and stop receiving emails from it,
>>> send
>>> >>> > an
>>> >>> > email to excel-macros+unsubscr...@googlegroups.com.
>>> >>> > To post to this group, send email to excel-macros@googlegroups.com
>>> .
>>> >>> > Visit this group at
>>> http://groups.google.com/group/excel-macros?hl=en.
>>> >>> > For more options, visit https://groups.google.com/groups/opt_out.
>>> >>> >
>>> >>> >
>>> >>>
>>> >>> --
>>> >>> Join official Facebook page of this forum @
>>> >>> https://www.facebook.com/discussexcel
>>> >>>
>>> >>> FORUM RULES
>>> >>>
>>> >>> 1) Use concise, accurate thread titles. Poor thread titles, like
>>> Please
>>> >>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
>>> Advice will
>>> >>> not get quick attention or may not be answered.
>>> >>> 2) Don't post a question in the thread of another member.
>>> >>> 3) Don't post questions regarding breaking or bypassing any security
>>> >>> measure.
>>> >>> 4) Acknowledge the responses you receive, good or bad.
>>> >>> 5) Jobs posting is not allowed.
>>> >>> 6) Sharing copyrighted material and their links is not allowed.
>>> >>>
>>> >>> NOTE  : Don't ever post confidential data in a workbook. Forum
>>> owners and
>>> >>> members are not responsible for any loss.
>>> >>> ---
>>> >>> You received this message because you are subscribed to the Google
>>> Groups
>>> >>> "MS EXCEL AND VBA MACROS" group.
>>> >>> To unsubscribe from this group and stop receiving emails from it,
>>> send an
>>> >>> email to excel-macros+unsubscr...@googlegroups.com.
>>> >>> To post to this group, send email to excel-macros@googlegroups.com.
>>> >>> Visit this group at
>>> http://groups.google.com/group/excel-macros?hl=en.
>>> >>> For more options, visit https://groups.google.com/groups/opt_out.
>>> >>>
>>> >>>
>>> >>
>>> >> --
>>> >> Join official Facebook page of this forum @
>>> >> https://www.facebook.com/discussexcel
>>> >>
>>> >> FORUM RULES
>>> >>
>>> >> 1) Use concise, accurate thread titles. Poor thread titles, like
>>> Please
>>> >> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
>>> Advice will
>>> >> not get quick attention or may not be answered.
>>> >> 2) Don't post a question in the thread of another member.
>>> >> 3) Don't post questions regarding breaking or bypassing any security
>>> >> measure.
>>> >> 4) Acknowledge the responses you receive, good or bad.
>>> >> 5) Jobs posting is not allowed.
>>> >> 6) Sharing copyrighted material and their links is not allowed.
>>> >>
>>> >> NOTE : Don't ever post confidential data in a workbook. Forum owners
>>> and
>>> >> members are not responsible for any loss.
>>> >> ---
>>> >> You received this message because you are subscribed to the Google
>>> Groups
>>> >> "MS EXCEL AND VBA MACROS" group.
>>> >> To unsubscribe from this group and stop receiving emails from it,
>>> send an
>>> >> email to excel-macros+unsubscr...@googlegroups.com.
>>> >> To post to this group, send email to excel-macros@googlegroups.com.
>>> >> Visit this group at http://groups.google.com/group/excel-macros?hl=en
>>> .
>>> >> For more options, visit https://groups.google.com/groups/opt_out.
>>> >>
>>> >>
>>>
>>> --
>>> Join official Facebook page of this forum @
>>> https://www.facebook.com/discussexcel
>>>
>>> FORUM RULES
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>> will not get quick attention or may not be answered.
>>> 2) Don't post a question in the thread of another member.
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>> 4) Acknowledge the responses you receive, good or bad.
>>> 5) Jobs posting is not allowed.
>>> 6) Sharing copyrighted material and their links is not allowed.
>>>
>>> NOTE  : Don't ever post confidential data in a workbook. Forum owners
>>> and members are not responsible for any loss.
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "MS EXCEL AND VBA MACROS" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to excel-macros+unsubscr...@googlegroups.com.
>>> To post to this group, send email to excel-macros@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>
>> --
>> *Regards*
>> * *
>> *Ashish Koul*
>>
>>
>> *Visit*
>> *My Excel Blog <http://www.excelvbamacros.com/>*
>> Like Us on 
>> Facebook<http://www.facebook.com/pages/Excel-VBA-Codes-Macros/151803898222297>
>> Join Us on Facebook <http://www.facebook.com/groups/163491717053198/>
>>
>>
>> P Before printing, think about the environment.
>>
>>
>>
>> --
>> Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to excel-macros+unsubscr...@googlegroups.com.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
With Regards,
Noorain Ansari
http:// 
<http://www.noorainansari.com>noorainansari.com<http://www.noorainansari.com>
http:// 
<http://www.excelvbaclinic.blogspot.com>excelvbaclinic.com<http://www.excelvbaclinic.blogspot.com><http://accesssqclinic.blogspot.in/>

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to