how to get around the Enable Macro security message?

C

cfman

HI all,

When the users open my Excel/VBA sheet, they met with a window asking if
Macro should be enabled.

My users are not that sophisticated... so I would like everything simple for
them. Is there a way to get rid of such complications?

Thanks
 
B

Bob Phillips

Yeah, get them to set their security setting to low (not recommended), or
digitally sign the workbook.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
J

JLatham

First, I agree completely with what Bob and Patrick have said:
Low macro security is not really the way to go, and
A digital signature is a way to get around the notice.

Now, one other way you can "deal" with it, in the way of educating the end
user is to put a worksheet in nthe workbook that has instructions on how to
set the security settings and respond to the warnings or even how to accept
your digital signature as a valid trusted source. Make sure that sheet is
the one selected when you save the workbook before sending it to the user.

In the Workbook's Open event put some code to hide that sheet. This way, if
they have macros enabled, they never see the sheet since the code hides it.
But if they have macro security set to high/very high or chose [Disabled] at
the warning then the sheet will remain visible and they'll have guidance on
how to use your workbook with all of its features.
 
J

Jon Peltier

Another option is to write a program in VB which opens the workbook for you.
Workbooks which open through automation are implicitly trusted, since the
program that opens them (the VB program) are assumed to have been opened on
purpose.

This approach is good for unsophisicated users, as you can put an icon for
the VB program on the desktop for the users to launch the program.

- Jon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top