Closed Thread
Results 1 to 2 of 2

Tip on dialogue/combo box

  1. #1
    AndyRoo
    Guest

    Tip on dialogue/combo box

    I have a macro with a user form that has 2 combo boxes in it. Currently the
    second combo box contains all the possible options that could arise from the
    items in the first combo box. I would like to change this so that the list
    of items in the second box is driven by whichever item is chosen in the first
    combo box.

    I have managed to do this by splitting the user form into 2 separate boxes
    (ie the user confirms choice 1 before the 2nd list of choices is shown) but
    I'd prefer not to do that as the user may want to change their mind about the
    first choice.

    Any tips or suggestions of good reference material on the net would be
    gratefully received. The 2 books I've got haven't given me any inspiration.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Response

    You ciould try dynamically setting the list items for the second box every time the first is changed. You can do this by linking a macro to the first list box's change event.
    Martin

Closed 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