+ Reply to Thread
Results 1 to 5 of 5

[SOLVED] Two multiple choice drop down lists on one sheet

  1. #1
    Registered User
    Join Date
    06-01-2020
    Location
    Boston, MA
    MS-Off Ver
    Office 365
    Posts
    3

    [SOLVED] Two multiple choice drop down lists on one sheet

    Hi,

    I'm new to VB and I am trying to have more than one drop down list on my sheet that allows the user to make multiple selections from a list. Each drop down is a different list. I found code that works for one drop down per worksheet, but can't figure out how to add to the code for the second drop down. Do I need to do a bunch of nested IF statements?? It's been years and years since I've done any programming so I apologize in advance for my newbie-ness.

    I've attached the spreadsheet with the code from trumpexcel. I tried editing etc (for the past 3 hours ) but won't give you my bastardized attempts. The one that is attached is unedited and works. The code works on the "number" dropdown and I also want to allow multiple selections in the "alpha" dropdown.

    Any help would be appreciated! Or am I trying to do something that can't be done?

    Thank you!
    Attached Files Attached Files
    Last edited by Dicemum; 06-02-2020 at 10:56 AM. Reason: Solved

  2. #2
    Registered User
    Join Date
    06-01-2020
    Location
    Boston, MA
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Two multiple choice drop down lists on one sheet

    Hi all - can anyone help? Thanks!

  3. #3
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Two multiple choice drop down lists on one sheet

    After your final End If, just put in similar code but If Target.Address = "$D$2". That would then only run if it was your "other" dropdown that changed. Unless the code is supposed to do EXACTLY the same thing, then you could just change
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  4. #4
    Registered User
    Join Date
    06-01-2020
    Location
    Boston, MA
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Two multiple choice drop down lists on one sheet

    So simple! Thank you SO much.

  5. #5
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Two multiple choice drop down lists on one sheet

    Glad I could help, if that solves the problem, please remember to mark the thread as solved? Thanks in advance

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Multiple Time Stamps depending on choice in Drop Down List Choice
    By insayah in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-25-2022, 09:53 AM
  2. Drop-down lists - select multiple options with sheet protection
    By jgroberts in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-27-2019, 04:33 PM
  3. dependent validation and multiple choice lists
    By Louisa Venter in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-18-2014, 04:29 AM
  4. drop box multiple choice
    By sinisaj in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-21-2013, 11:19 AM
  5. Multiple Drop Down Lists from a single multi row sheet
    By betsyparsons in forum Excel General
    Replies: 0
    Last Post: 09-14-2012, 04:38 PM
  6. Run Macros from Multiple Drop down lists in same sheet
    By pickledmuffin in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2007, 11:20 PM
  7. Create lists with multiple choice options
    By Proejo in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-30-2007, 08:36 AM

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