+ Reply to Thread
Results 1 to 4 of 4

Hide Unhide multiple sheets with password

  1. #1
    Forum Contributor
    Join Date
    07-17-2015
    Location
    Roanoke, Virginia
    MS-Off Ver
    2010
    Posts
    173

    Hide Unhide multiple sheets with password

    I have a workbook with 11 worksheets
    Sheet1 and Sheet2 I want to remain open. Sheets3-11 I would like very hidden when the workbook closes. to unhide Sheets 3-11 would need password.
    How can this be done through vba?

    Thanks
    Jim

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Hide Unhide multiple sheets with password

    Hello Jim,

    The only way a sheet that is very hidden can be accessed is through VBA. The sheet's visibility property must be changed either manually or by writing a VBA macro. The user can not unhide the sheet using the Ribbon. So why do you need to hide these sheets again when the workbook closes?
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Contributor
    Join Date
    07-17-2015
    Location
    Roanoke, Virginia
    MS-Off Ver
    2010
    Posts
    173

    Re: Hide Unhide multiple sheets with password

    Sheets3-11 are data sheets relating to a dashboard and charts on Sheets1-2

    When I open the file I want to unhide all the sheets so I can add data where needed. When it closes I send the file to other managers - they don't need to know or access the other 3-11.

  4. #4
    Forum Contributor
    Join Date
    07-17-2015
    Location
    Roanoke, Virginia
    MS-Off Ver
    2010
    Posts
    173

    Re: Hide Unhide multiple sheets with password

    I found the following at pifflelab.com that does the job very well
    Hides specified sheets as very hidden; unhides with password; hides as very hidden when exit

    Please Login or Register  to view this content.

+ 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] How to hide and unhide sheets with a password
    By holli in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-02-2016, 12:03 AM
  2. [SOLVED] Hide and unhide sheets with a password
    By Saturn in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-25-2016, 09:59 AM
  3. Inputbox with password to hide/unhide specific sheets in workbook.
    By Tona in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-29-2015, 07:41 AM
  4. Hide all sheets (very hidden) except one or Unhide all sheets with password
    By wmdriver in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-21-2015, 07:21 AM
  5. Hide Selected Sheets And No Unhide Without Entering Password
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-19-2014, 11:53 PM
  6. hide / unhide separate sheets based on password
    By spudinsane in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-27-2011, 04:48 AM
  7. vba to hide / unhide separate sheets based on password (bis)
    By sigeg in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-26-2011, 05: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