+ Reply to Thread
Results 1 to 3 of 3

How to sort A to Z data of combobox Userform

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    How to sort A to Z data of combobox Userform

    Hi,
    I have a dynamic name range in combobox
    And
    I just want to sort that list A to Z when I click combobox


    I have also 0 (zero) in my Name range so I don't want to include this 0 in combobox list
    Last edited by HaroonSid; 02-04-2017 at 02:50 PM.
    Use Code-Tags for showing your code :
    Please mark your question Solved if there has been offered a solution that works fine for you
    If You like solutions provided by anyone, feel free to add reputation using STAR *

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: How to sort A to Z data of combobox Userform

    Hi haroon,

    I'd create a second named range that is the sorted (A to Z) of your first named range. Then I'd use this sorted and filtered*range in your combo box. I'd also create a little VBA script that sorted and filtered the first to the second*on some event.

    Does that help?
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Valued Forum Contributor Maudibe's Avatar
    Join Date
    12-21-2016
    Location
    USA
    MS-Off Ver
    2010-2013
    Posts
    326

    Re: How to sort A to Z data of combobox Userform

    Harsoon,

    Similar post with answers here: http://www.excelforum.com/showthread...=1#post4575471

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Sort and Delete Data Based on Multiple Criteria Using Check Box in Userform
    By Primas in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-04-2016, 01:16 AM
  2. Userform data antry on new row + auto sort alfabetically
    By pclaesen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2015, 10:26 AM
  3. [SOLVED] Userform to pull, filter and sort data from a Master sheet
    By globulous in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-22-2015, 02:01 PM
  4. Replies: 0
    Last Post: 02-27-2014, 04:43 PM
  5. combining chart userform and data transfer userform into 1 userform
    By H_Kennedy in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-04-2014, 07:11 AM
  6. combining chart userform and data transfer userform into 1 userform
    By H_Kennedy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-03-2014, 12:28 PM
  7. How to take new data from a UserForm and sort?
    By jsprott in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2013, 02:31 PM

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