+ Reply to Thread
Results 1 to 3 of 3

Help hiding/unhiding rows based on multiple responses

  1. #1
    Registered User
    Join Date
    08-29-2013
    Location
    Denver, Colorado
    MS-Off Ver
    Excel 2010
    Posts
    2

    Help hiding/unhiding rows based on multiple responses

    I know very little about VBA/macros and would love some help!

    I have 2 sheets in a workbook: summary and detail. There are 4 questions on the summary page with answers that are limited to a list of YES, NO, and - (for question 1) N/A (for questions 2-4). Based on the answer to each question, I would like rows on the detail tab to hide/unhide.


    When Question 1 is answered -, I want rows 8:128 on sheet 2 hidden; answered YES, rows listed in C17:C23 unhidden; answered NO, do nothing.
    Then when #2 is answered, unhide rows based on the lists in columns D and E.
    #3, unhide rows based on the lists in F &G.
    #4, unhide rows based on the lists in H &I.

    In all cases, if the answer is N/A-do nothing.

    I would prefer that this not run automatically. Maybe a button that can be activated when all questions have been answered? Also, if an answer is changed, I'll need the rows that were unhidden based on the previous answer to hide before unhiding according to the new answer.

    Any help is greatly appreciated!!!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Help hiding/unhiding rows based on multiple responses

    hi mglitter1, welcome to Excelforum, option if I understood your request correctly

    The button is hidden until at least one answer has no entered answer
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-29-2013
    Location
    Denver, Colorado
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Help hiding/unhiding rows based on multiple responses

    Hi watersev,
    Thank you! This does exactly what I was hoping for. I had to make a few small changes to the row ranges for C6 but this code is so much more simplistic than anything I was trying to accomplish with my own limited knowledge.

    You're the best! Thanks again.

+ 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. [SOLVED] Unhiding / Hiding rows based on a different cell value
    By gm2612 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 07-30-2013, 05:15 AM
  2. [SOLVED] Help with hiding or unhiding multiple ranges of rows based on cell value on another sheet
    By Jake Bierly in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-22-2013, 12:14 PM
  3. [SOLVED] Hiding/Unhiding Rows Based on Dropdown Box
    By SubParLlama in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-14-2012, 12:29 PM
  4. Hiding Unhiding Rows based on Text condition
    By Winner_texas in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 10-11-2010, 11:54 AM
  5. Hiding / Unhiding rows when multiple cell values change
    By waverider in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-09-2006, 08:35 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