+ Reply to Thread
Results 1 to 2 of 2

Macro for Hide all worksheets except active one and unhide all the worksheets

  1. #1
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    853

    Macro for Hide all worksheets except active one and unhide all the worksheets

    Dear Experts,

    I am looking for the macro to Hide all worksheets non-active worksheets and unhide worksheets except those which was hidden manually in case of protected workbook and protected worksheets.

    Regards,

    Neilesh

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,405

    Re: Macro for Hide all worksheets except active one and unhide all the worksheets

    This project creates an INDEX on the first sheet. Each Sheet Name is a hyperlink to that sheet.

    All others sheets remain hidden until the hyperlink is clicked for the specific sheet. Each sheet has a hyperlink
    back to the INDEX sheet. When that hyperlink is clicked, the sheet auto hides.

    Please Login or Register  to view this content.

    Each sheet must also have this macro which causes the sheet to auto hide when transitioning back to the INDEX sheet. NOTE that each
    sheet's macro will be different in that the sheet name must reference that sheet's unique name (shown in RED).

    Please Login or Register  to view this content.
    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)

Similar Threads

  1. VBA to hide/ unhide worksheets
    By holli in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-18-2015, 08:10 PM
  2. [SOLVED] VBA macro to hide/unhide particular worksheets on selection from drop-down menu
    By lealea1982 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-08-2014, 09:51 AM
  3. Hide Unhide Worksheets VBA
    By Playemgraeme in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-30-2014, 04:31 PM
  4. [SOLVED] PW Protected Macros Needed to 1) Hide Certain Worksheets & 2) Unhide Worksheets & Columns
    By Aimee S. in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-21-2014, 10:49 AM
  5. Need macro to check values and hide/unhide specific worksheets
    By amsnss in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-29-2011, 01:53 PM
  6. Macro to Hide/Unhide Worksheets
    By incognito in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 06-15-2007, 03:18 AM
  7. Hide and/or Unhide Worksheets
    By Rob in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-13-2006, 04:35 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