+ Reply to Thread
Results 1 to 4 of 4

Different levels of security

  1. #1
    Forum Contributor
    Join Date
    04-15-2008
    Location
    Texas, USA
    MS-Off Ver
    M365 Excel Version 2210
    Posts
    216

    Different levels of security

    Is there a way in an Excel 2013 workbook to allow some users access to certain sheets (say Sheets 1-3) while other users only have access to the Sheets 4-6 then the administrator has access to all Sheets?

    Thanks for your help.
    RR

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,037

    Re: Different levels of security

    You can protect each sheet with it's own password and then give password as you like.
    Never use Merged Cells in Excel

  3. #3
    Forum Contributor
    Join Date
    04-15-2008
    Location
    Texas, USA
    MS-Off Ver
    M365 Excel Version 2210
    Posts
    216

    Re: Different levels of security

    If I password protect a sheet doesn't it just protect what they can do on it? I want to hide one sheet from user A and a second sheet from user B since they have different pricing structures. So can I do that?

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,037

    Re: Different levels of security

    You can make sheets visible (xlSheetVisible), hidden (xlSheetHidden) and very hidden (xlSheetVeryHidden).

    The property xlSheetHidden hides the sheet, but it can be made visible by any user through the Excel user interface.
    If you use xlSheetVeryHidden, however, the user cannot make the sheet visible through the Excel user interface.

    So create Main sheet (that will always be visible).
    And there add buttons for each sheet that will launch prompt question or userform where you can enter password.

    In module add all passwords like this:

    Please Login or Register  to view this content.
    And in code allow those passwords for each sheet.

    Something like (example for userform)
    Please Login or Register  to view this content.
    At the end protect VB Project so other users cannot see or edit module with passwords.

+ 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] security issues or providing security for macro enabled files
    By thara.p24 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-12-2014, 05:12 AM
  2. 2 Levels of Security
    By slaterm4 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-22-2013, 07:15 PM
  3. Replies: 5
    Last Post: 06-04-2012, 01:12 AM
  4. Security Levels in 2003
    By Chrispy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-13-2005, 01:06 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