+ Reply to Thread
Results 1 to 3 of 3

Conditionally Display/Hide Workbook Tab/s

  1. #1
    Registered User
    Join Date
    01-21-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    8

    Post Conditionally Display/Hide Workbook Tab/s

    I'm relatively new to VBA and have a 2010 Excel Workbook that has several tabs that I want to display/hide based on 'Y', 'N' values that would be entered in cells within Sheet1. For instance if the value in B1 is 'Y' I want Sheet2 to be visible, and if the value is 'N' Sheet2 should hide. The same will be true for Cell B2. If the value is 'Y' display Sheet3 and if the value is 'N' hide it.

    Please can you offer some guidance how to do this.

    Many thanks, Steve

  2. #2
    Forum Contributor
    Join Date
    01-02-2007
    Location
    Australia NSW
    MS-Off Ver
    2013
    Posts
    494

    Re: Conditionally Display/Hide Workbook Tab/s

    ALT + F11 to access VBA
    Paste code into Sheet1

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-21-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Conditionally Display/Hide Workbook Tab/s

    Corytroy, Thank you for your assistance. Really appreciate that. Perfect.

    Best wishes,
    Steve

+ 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