+ Reply to Thread
Results 1 to 3 of 3

ComboBox dropdown for a large list

  1. #1
    Registered User
    Join Date
    03-15-2007
    Posts
    50

    ComboBox dropdown for a large list

    Hi all,

    I know enough about Excel & VBA to be dangerous so I'm looking for a bit of help. I have a workbook that includes sheets populated with a data list (tournaments & dates and hotels with complete address info) I have created a Userform that will be used to generate invoices. My plan is to use combobox dropdowns so that I can select from the events list and the hotel list to populate an invoice sheet that is on a separate tab.
    How can I pull the data from that sheet to the dropdown list (I don't want to hard code it as the list will be added to over time). Do I just name the range of hotels and have that dropdown use that name to populate the list or is there another way to do this?
    Thanks for the help.

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Yes, that would be an efficient way to do this. Name the range, and simply use the named range to populate the combo box. However, so that you do not have to keep renaming the range when you add new data, use a dynamic range:

    http://www.contextures.com/xlNames01.html

    HTH

    Jason

  3. #3
    Registered User
    Join Date
    03-15-2007
    Posts
    50
    Excellent! Thanks for the link.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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