+ Reply to Thread
Results 1 to 2 of 2

Multi-user workbook; each with a password to see their personal sheet

  1. #1
    Registered User
    Join Date
    09-23-2014
    Location
    Wisconsin
    MS-Off Ver
    2013
    Posts
    28

    Multi-user workbook; each with a password to see their personal sheet

    I'm working on a password protected multi-sheet workbook and I want users to see the "Instructions" sheet, the "Week#" sheet, and their individual sheet only. The admin has her own password to be able to see all sheets. Each user has their own password assigned to them and can then see only the sheets designated for them.

    My question: Is there a way to hide all the sheets (minus the Instructions sheet) upon opening? Once the user enters their password (PASS1, PASS2, etc.), they should be able to see their specified sheets (User1, User2, User3, User4, Week#, etc.). What's happening now is that all users are able to see all sheets until the user clicks 'Enable Content'.

    Here's the code I'm currently using (you might be able to tell that I'm new to VBA):
    Please Login or Register  to view this content.
    Last edited by Leith Ross; 10-23-2014 at 02:09 PM. Reason: Added Code Tags

  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: Multi-user workbook; each with a password to see their personal sheet

    Hello jlheath01,

    You need to set the Visible property of all sheets that are to be hidden to xlSheetVeryHidden or 2 before the workbook is closed to ensure they are hidden when the workbook opens next time.

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

+ 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. Multi User shared workbook password protection?
    By dougt69 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-03-2013, 10:26 PM
  2. How do we build multi users userform with individual user id & password
    By tvc.james in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-28-2012, 04:32 AM
  3. Multi user excel with password
    By Zeeman in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-21-2011, 06:36 PM
  4. [SOLVED] User Defined Functions in the Personal Macro Workbook
    By Nate in forum Excel General
    Replies: 2
    Last Post: 05-11-2006, 11:35 AM
  5. Using a user-defined function from the Personal workbook
    By mworth01 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-04-2006, 09:20 AM

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