+ Reply to Thread
Results 1 to 5 of 5

List Box selection based on combo box selection

Hybrid View

  1. #1
    Registered User
    Join Date
    06-27-2008
    Location
    Canada
    Posts
    4

    List Box selection based on combo box selection

    Hi all,

    I have a combo box and a list box. Im wondering if it is possible for the selection in my list box to be made based on what is selected in the combo box.

    For example, the combo box has a list :
    Architectural
    Mechanical
    Electrical

    The list box has a list:
    Architectural
    Geomatics
    Site
    Electrical
    Mechanical
    Structural

    If Architectural is selected in the combo box, I want the selection in the list box to be forced to be architectural.

    Thank you for your help.

  2. #2
    Valued Forum Contributor
    Join Date
    03-23-2008
    Location
    Tennessee
    MS-Off Ver
    Office 2007
    Posts
    706
    I had the same question. Yes, you can. There are a few different ways, but the easiest is by suing the INDIRECT function.

    See this link for instructions...

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

  3. #3
    Registered User
    Join Date
    06-27-2008
    Location
    Canada
    Posts
    4
    Thanks, but thats not exactly what im trying to do.

    I can't use data validation...it has to be a combo box and a list or two combo boxes. What i need is for the selection in the first combo box to force the selection in the second. That is, the user will be allowed to select the first choice, but not the second. The second choice will be the same as the first, just in a different combo/list box.

    Im not sure if that makes sense...or if it is possible...

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    What kind of Controls are you using? Forms ToolBar, Controls ToolBox or UserForm.?

    Where are they populated from?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Registered User
    Join Date
    06-27-2008
    Location
    Canada
    Posts
    4
    Im using the control tool box. The first combo box is populated based on a selection in a previous combo box. The second (list box) is populated from a named range on Sheet 3 ("PickList") from cells C11:D66 ("SubCategoryPickList").

+ 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