+ Reply to Thread
Results 1 to 4 of 4

Combobox alphabetical order?

  1. #1
    Registered User
    Join Date
    08-17-2011
    Location
    New York, USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Combobox alphabetical order?

    Hello!

    I used the code from this dependent combobox thread:
    http://www.excelforum.com/excel-prog...mbo-boxes.html
    Woorkbook: Copy of Combo Box.xlsm

    to create a list of unique items in my comboBoxes, and control the autofilter. But the items in the combobox are not in alphabetical/numerical order... how could I accomplish this?

  2. #2
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Combobox alphabetical order?

    Have you tried sorting them alphabetically first and then adding them to the combo box?
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Combobox alphabetical order?

    Hi lnk2013

    Check this link. It includes a download sample file for you to play with. C:\VBA Code\ComboBox\VBA ExpressExce...dered list.mht
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Combobox alphabetical order?

    This will sort a combobox or listbox:

    Please Login or Register  to view this content.
    E.g.,

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1