+ Reply to Thread
Results 1 to 2 of 2

Populating the list in a combobox based off the value chosen in another combobox

  1. #1
    Registered User
    Join Date
    11-13-2010
    Location
    Springfield, IL
    MS-Off Ver
    Excel 2007
    Posts
    36

    Populating the list in a combobox based off the value chosen in another combobox

    Please forgive me if this has been asked and answered before. I did search the forum to check and found nothing, so here's my question.

    In my worksheet I have two comboboxes and one huge table that is used to provide the list of the first combobox (combobox-a). Combobox-b is a small list of strings that I want to be able to use to set a filter on the list of combobox-a. How might I be able to do this?

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Populating the list in a combobox based off the value chosen in another combobox

    Hi,

    Use the small list of strings as the rowsource property for combobox-b. Then in the Change event of combobox-b update a criteria cell, and run a macro which uses advance filter to filter the large list using the criteria cell to an ouput area which will contain a smaller subset list. Use a dynamic range name on the filtered list and use that name as the rowsource property for combobox-a

    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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