+ Reply to Thread
Results 1 to 2 of 2

hide and unhide sheets based on a cell value

  1. #1
    Forum Contributor
    Join Date
    04-21-2010
    Location
    Budapest
    MS-Off Ver
    Excel 2010
    Posts
    155

    hide and unhide sheets based on a cell value

    I have a workbook which contains a lot of worksheets. I would like to use a macro which hide and unhide all the worksheets from sheets nr. 3 where the cell G1 contains text "PRINT"
    The first two worksheets need to stay always VISIBLE.
    Could you advise me a proper solution for this task?

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: hide and unhide sheets based on a cell value

    Hello,

    This should get you started.

    Please Login or Register  to view this content.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

+ 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. How to auto hide/unhide sheets in excel workbook based on cell input?
    By bensaps10 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2014, 09:57 AM
  2. [SOLVED] Hide/Unhide sheets based on text result of IF Formula in cell in another sheet
    By yukinosei in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-16-2014, 01:17 PM
  3. Replies: 1
    Last Post: 10-02-2013, 08:08 PM
  4. Hide/Unhide sheets based on combo box selection
    By prabs_message in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-21-2013, 01:43 AM
  5. Need Help with Macro to Hide/Unhide certain sheets based on number value in a cell
    By PizzaEngineer in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-09-2012, 02:23 PM

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