+ Reply to Thread
Results 1 to 10 of 10

How do I have excel add an drop down list if the cell before it is populated with text?

  1. #1
    Registered User
    Join Date
    04-13-2020
    Location
    MD
    MS-Off Ver
    2018
    Posts
    19

    How do I have excel add an drop down list if the cell before it is populated with text?

    I am trying to have excel generate a dynamic dropdown list that allows you to choose from the column names in the the "Run Table" Sheet ('Run Table'!$1:$1). I want this dropdown to only appear when the checkbox in A8 is checked. How do I go about doing this?
    Attached Files Attached Files

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: How do I have excel add an drop down list if the cell before it is populated with text

    Hi, welcome to the forum.
    All nice but where do you want that dropdown list to show up, which column? B ?
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: How do I have excel add an drop down list if the cell before it is populated with text

    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  4. #4
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: How do I have excel add an drop down list if the cell before it is populated with text

    Nice code

  5. #5
    Registered User
    Join Date
    04-13-2020
    Location
    MD
    MS-Off Ver
    2018
    Posts
    19

    Re: How do I have excel add an drop down list if the cell before it is populated with text

    Thank you!!

  6. #6
    Registered User
    Join Date
    04-13-2020
    Location
    MD
    MS-Off Ver
    2018
    Posts
    19

    Re: How do I have excel add an drop down list if the cell before it is populated with text

    Followup question: how do I make the dropdown disappear if I uncheck the checkbox after checking it?

  7. #7
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: How do I have excel add an drop down list if the cell before it is populated with text

    The posted code does just that.

  8. #8
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: How do I have excel add an drop down list if the cell before it is populated with text

    Se here, checked and unchecked
    You will have to write the rest for the other checkboxes
    Attached Images Attached Images

  9. #9
    Registered User
    Join Date
    04-13-2020
    Location
    MD
    MS-Off Ver
    2018
    Posts
    19

    Re: How do I have excel add an drop down list if the cell before it is populated with text

    Quote Originally Posted by Keebellah View Post
    The posted code does just that.
    I meant to say how do I have it delete the text in D13 when unchecked, I figured it out

  10. #10
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: How do I have excel add an drop down list if the cell before it is populated with text

    Great, you see, it's not at all that complicated

+ 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. Drop Down List & Dependent Values to be populated
    By Sachin.Hardikar in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-07-2019, 01:16 PM
  2. [SOLVED] Pre-populated drop-down list from selection made in drop-down list
    By jmaggols in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-15-2015, 12:26 PM
  3. [SOLVED] Drop Down List populated from Index Match
    By jonesyp in forum Excel General
    Replies: 6
    Last Post: 03-03-2014, 03:23 AM
  4. Replies: 0
    Last Post: 02-03-2013, 06:33 PM
  5. [SOLVED] Drop-down list Populated by a Subset of a larger list
    By RJH in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-11-2010, 07:17 AM
  6. Drop-down list populated by SQL recordset?
    By LadyReader in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-09-2009, 08:33 AM
  7. Can a cell have a drop down list and can also be auto populated
    By Adrian in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-17-2005, 02:06 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