+ Reply to Thread
Results 1 to 6 of 6

ComboBox

  1. #1
    Registered User
    Join Date
    03-10-2011
    Location
    Orlando
    MS-Off Ver
    Excel 2007
    Posts
    13

    Angry ComboBox

    Hello all,
    I had a quick question. I use combo box from form controls. I am trying to make is so if I have a combo box and the person chooses "Yes" then another combo box will appear. If in the second combo box someone chooses no then another combo box will appear and so on. I have been looking this up for a really long time and haven't been able to find anything. Thanks

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

    Re: Combo Box Questions

    Hi,
    I think the term is cascading combo boxes.

    Read http://blogs.captechconsulting.com/b...mbo-boxes-part to see if this is what you want.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    03-10-2011
    Location
    Orlando
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Combo Box Questions

    Thanks for that info. I may use it in the future. Unfortunately, this is not really what I am looking for. I am looking for something that will hide a combo box until a certain value is entered into that combo box. For instance, I want there to be 4 boxes. Combo box 1, 2, 3, 4. I would like box 1 to be shown and if that person chooses yes box 2 would pop up. If they choose no then I would like box 3 to show up. If someone can just give me the format for like 6 combo boxes (to be safe) to do this I would be very grateful. Having said all that, I am not even sure if this is possible.

    Thanks to everyone for all the help. I really know nothing about any of this.

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

    Re: Combo Box Questions

    Find the attached with an example of what I think you want.

    You can make the ComboBox.Visible property True or False.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-10-2011
    Location
    Orlando
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: ComboBox

    Marvin,
    Thanks for all the help. I am little confused with the spreadsheet you attached. I attached an example of what I am trying to achieve. Thanks for anyone who can help!
    Attached Files Attached Files

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

    Re: ComboBox

    Hi,

    You have put comboboxes on your sheet instead of on a userform. You will need to click on the combobox and then on Properties to get to the On_Change property. You need to trap the On_Change event to test if it is Yes or No.

    I believe what you are trying to do is possible but there are much easier ways to accomplish a survey form.

    How about not using comboboxes and simply do validation cells. Then test the cells for values on them changing and then move the selected cell depending on the answer. This would be a much easier way and not need Userforms or ComboBox (Shapes) controls.

+ 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