Consulting

Results 1 to 4 of 4

Thread: Bypass "Disable Macros" option

  1. #1
    Administrator
    2nd VP-Knowledge Base
    VBAX Master malik641's Avatar
    Joined
    Jul 2005
    Location
    Florida baby!
    Posts
    1,533
    Location

    Question Bypass "Disable Macros" option

    How can I bypass the "This workbook contains macros...." pop-up at startup???

    I know about the digital signature, but is there another way? And how EXACTLY does the digital signature work? Is it compatible with Excel 2000?

    The reason that I'm asking is because I have a worksheet that is protected upon the workbook_open event and I noticed that if the sheet's macros is disabled and then unprotected and THEN saved before closed, then the next time somebody opens it and they choose "Disable macros" then the sheet will still be unprotected. And I want it to ALWAYS be protected upon opening. (the same goes for the workbook)

    Any suggestions??




    New to the forum? Check out our Introductions section to get to know some of the members here. Feel free to tell us a little about yourself as well.

  2. #2
    Site Admin
    Jedi Master
    VBAX Guru Jacob Hilderbrand's Avatar
    Joined
    Jun 2004
    Location
    Roseville, CA
    Posts
    3,712
    Location
    Check out this Kb Entry to see a method of forcing a user to enable macros.

    To bypass the warning, you can add a digital signature and add that signature as a trusted source or set macro security to low. Both of these can be easily changed by the user so should not be considered for security.

  3. #3
    Administrator
    2nd VP-Knowledge Base VBAX Master malik641's Avatar
    Joined
    Jul 2005
    Location
    Florida baby!
    Posts
    1,533
    Location
    Hey thanks DRJ. I couldn't really get it to work the way I want, but I'm marking it solved because when I train employees on how to use my spreadsheet, I specifically tell them to always enable macros. And it wouldn't do too much harm if they ended up with the unprotected document (also, it's HIGHLY doubtful that the situation I described above would happen).

    So thanks again DRJ




    New to the forum? Check out our Introductions section to get to know some of the members here. Feel free to tell us a little about yourself as well.

  4. #4

Posting Permissions

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