+ Reply to Thread
Results 1 to 3 of 3

Hiding / Unhiding sheets

  1. #1
    Registered User
    Join Date
    07-25-2017
    Location
    Latvia
    MS-Off Ver
    MS Office 2010
    Posts
    91

    Hiding / Unhiding sheets

    Hi!

    Probably very basic question, but I'm VBA newbie.

    I have 6 sheets on my workbook.

    Sheet1, Sheet2, Sheet3, Sheet4 are visible
    Sheet5, Sheet6 are hidden

    I need to assign macro to the button on Sheet4 to hide Shee3 and Sheet4 and unhide Sheet5 and Sheet6.
    So it was 1,2,3,4 and should be 1,2,5,6.

    Any ideas?

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Hiding / Unhiding sheets

    Something like this:
    Please Login or Register  to view this content.
    The numbers represent the sheet numbers. you can replace them with sheets names, like 3 becomes "Sheet3"
    Click the * to say thanks.

  3. #3
    Registered User
    Join Date
    07-25-2017
    Location
    Latvia
    MS-Off Ver
    MS Office 2010
    Posts
    91

    Re: Hiding / Unhiding sheets

    Quote Originally Posted by PaulM100 View Post
    Something like this:
    Please Login or Register  to view this content.
    The numbers represent the sheet numbers. you can replace them with sheets names, like 3 becomes "Sheet3"
    Thanks Its so easy :D

+ 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. [SOLVED] Codes for Prevent users from adding sheets, deleting sheets, hiding/unhiding sheets
    By geniusufo007 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-13-2017, 11:57 PM
  2. Hiding/Unhiding Multiple Sheets
    By excel_126 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-07-2015, 02:50 AM
  3. Hiding/unhiding sheets
    By nkburm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-27-2010, 04:07 PM
  4. Hiding/unhiding sheets
    By nkburm in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-27-2010, 03:49 PM
  5. Hiding and Unhiding Work Sheets
    By praveenkulkarni in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-29-2009, 03:02 PM
  6. [SOLVED] Hiding and Unhiding Sheets
    By Rob in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-13-2006, 10:40 AM
  7. [SOLVED] Hiding and unhiding sheets
    By D.Hay in forum Excel General
    Replies: 2
    Last Post: 12-10-2005, 12:00 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