+ Reply to Thread
Results 1 to 3 of 3

Un-hiding rows based on drop-down list value selected - my code is not working.

  1. #1
    Registered User
    Join Date
    06-26-2019
    Location
    Houston, Texas
    MS-Off Ver
    2016
    Posts
    4

    Question Un-hiding rows based on drop-down list value selected - my code is not working.

    Hello All,

    I have a code that is not working and I cannot figure out why. I have a drop down list in a cell (B22) titled "Choose from list," the options are Yes and No. What I want is for hidden rows 23 through 26 to show if the user selects Yes and stay hidden if the user selects No. Can someone please tell me what is wrong with my code below?


    Please Login or Register  to view this content.
    Also, does anyone know if it is possible to add a + button which, when clicked, duplicates rows 23 through 26 but changes the title row, which is number 23. Its titled Team Member 1, we want to give the user an option to add another team members information if there is another team member to add, but have it titled Team Member 2, and so on if they keep adding more. I haven't researched that yet so thought I'd ask.

    Thank you!!
    Last edited by MFlight; 07-19-2019 at 03:45 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,807

    Re: Un-hiding rows based on drop-down list value selected - my code is not working.

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. I’ve done it for you this time, as you are still new here.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    06-26-2019
    Location
    Houston, Texas
    MS-Off Ver
    2016
    Posts
    4

    Re: Un-hiding rows based on drop-down list value selected - my code is not working.

    Thank you! I see what I have to do for future posts .

+ 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. Hiding rows with a drop-down list
    By Jo76hn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-29-2019, 08:57 AM
  2. Replies: 5
    Last Post: 03-04-2019, 02:32 AM
  3. Have drop down list - Need to Change formulas based on drop down selected
    By snuffnchess in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2015, 01:10 PM
  4. [SOLVED] Hiding previously selected options in drop down list
    By neerajkamat in forum Excel General
    Replies: 6
    Last Post: 07-27-2014, 10:10 AM
  5. [SOLVED] Hiding rows with drop down list (VBA code help)
    By dsl99 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 12-17-2012, 02:29 PM
  6. [SOLVED] VBA code to hide/unlide rows based on drop down list
    By evakotsi in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-03-2012, 10:30 PM
  7. [SOLVED] Hiding Columns based on the value of a drop down list
    By ExcelNewbie2534 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-18-2012, 07:03 PM

Tags for this Thread

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