+ Reply to Thread
Results 1 to 5 of 5

Unhide tab based on drop-down list selection

  1. #1
    Registered User
    Join Date
    06-04-2012
    Location
    KY
    MS-Off Ver
    Excel 2003
    Posts
    7

    Unhide tab based on drop-down list selection

    Hello-

    I have a sheet, "MOC", that contains 7 yes/no questions.

    If "Yes" is selected for Question 1, the rest of the questions on the "MOC" tab will be hidden, and the "SRMForm" tab will be unhidden.

    Can someone help me with this code, specifically the unhiding of the other tab?

    Thanks,
    CMR

  2. #2
    Forum Contributor
    Join Date
    08-22-2011
    Location
    Texas, United States
    MS-Off Ver
    Excel 2007 and 2010
    Posts
    516

    Re: Unhide tab based on drop-down list selection

    I was doing this the other day, here was my code for my workbook. This would go on your first page and you can adjust it how you would like. If you upload your workbook, we can curtail my code to fit yours. Visible means the sheet is visible, Hidden means that you cannot see it but a user could easily unhide the sheet, and veryhidden means that the user has to unhide the sheet via VBA

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-04-2012
    Location
    KY
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Unhide tab based on drop-down list selection

    Hello-

    I've attached my file.

    Thanks for your help!

    CMRDraft Form.xls

  4. #4
    Forum Contributor
    Join Date
    08-22-2011
    Location
    Texas, United States
    MS-Off Ver
    Excel 2007 and 2010
    Posts
    516

    Re: Unhide tab based on drop-down list selection

    CMR

    Here is your workbook, All that i have done is deleted all of your code on all of your other pages, added my code to your MOC page and put some conditional formatting and statements in the cells on MOC to make them only show up if you input NO in the first question. Check it out and let me know if this works for you.

  5. #5
    Registered User
    Join Date
    06-04-2012
    Location
    KY
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Unhide tab based on drop-down list selection

    amotto11-

    That worked great. I'm going to work with it to finish out the sheet. I'll let you know if I have any questions.

    Thanks and have a great day!
    CMR

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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