Consulting

Results 1 to 2 of 2

Thread: Security Level Macros - Protecting Workbook

  1. #1
    VBAX Regular
    Joined
    Jun 2005
    Posts
    87
    Location

    Security Level Macros - Protecting Workbook

    I looked on this site for a topic but couldnt find one.
    How can I protect my workbook so that if someone has their macros/security level set too high, that the workbook wont open? Right now I have macros so that people with passwords can view certain sheets. If someone disables the macro, they can see all the sheets.

    Thanks for any help!

  2. #2
    Site Admin
    Jedi Master
    VBAX Guru Jacob Hilderbrand's Avatar
    Joined
    Jun 2004
    Location
    Roseville, CA
    Posts
    3,712
    Location
    Well... The thing is... If macros are disabled then no code will run.

    So, you can have all the sheets hidden, except for a splash screen. Then hide the splash screen and unhide the other sheets when the workbook is opened. Make sure to hide all the sheets on the before close event (and remember to save the workbook afterwards).

    But this is not 100% secure. If the data is really sensitive, then do not use Excel.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •