+ Reply to Thread
Results 1 to 3 of 3

Macro to hide and unhide sheets based on Yes / No answers

  1. #1
    Registered User
    Join Date
    06-15-2012
    Location
    Iowa, USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Lightbulb Macro to hide and unhide sheets based on Yes / No answers

    I have a workbook that I'm setting up as a tax questionnaire to send to clients. I want them to only be able to see the first 6 sheets (the yes/no questions), and have the rest of the sheets be hidden initially. Then, when the client answers 'yes' to a question that requires them to fill out a Schedule, the checking of the box will unhide a specific sheet. Additionally, if they click 'no' , the sheet will stay hidden, or go back to being hidden. I've tried running a couple different macros, but I'm very inexperienced with them. Any help would be greatly appreciated. Thanks!

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: Macro to hide and unhide sheets based on Yes / No answers

    Hi

    Upload a sample file as that will help in understanding the problem well...
    Click *, if my suggestion helps you. Have a good day!!

  3. #3
    Registered User
    Join Date
    06-15-2012
    Location
    Iowa, USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Macro to hide and unhide sheets based on Yes / No answers

    Here's the file - another issue is that I want the user to only be able to answer yes or no to each question. As it currently is, both boxes can be checked. Is there a way to make the control only be able to have one or the other checked?
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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