Button to reduce macro security

R

Ravi Sandhu

Hi all

I am trying to create a Visual Basics button for reducing Security to low in
Microsoft Word.

How can this be done?

Thanks in advance
 
J

Jonathan West

Ravi Sandhu said:
Hi all

I am trying to create a Visual Basics button for reducing Security to low in
Microsoft Word.

How can this be done?

I don't think it can. It would be rather a large security hole for a macro
to be able to reduce macro security.

If you want code to be able to run under High security, you need to get a
digital certificate for it.
 
C

Charles Kenyon

Have you tried recording such a macro?

Note that your macro (attached to a button) can only run when macro security
is set to allow it to run. It can't change that basic setting.
--

Charles Kenyon

See the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
M

Mark Tangard

Recording this action will produce an empty macro. (Your security
settings will change, but only because your actions changed them.)

I'm confused by the sudden flood of messages asking how to write code to
change security settings. Think a bit, folks: If you could defeat macro
security by running a macro, there'd be no point in having security
settings.

--
Mark Tangard, Microsoft Word MVP
Note well: MVPs do not work for Microsoft.
"Life is nothing if you're not obsessed." --John Waters


Charles said:
Have you tried recording such a macro?

Note that your macro (attached to a button) can only run when macro security
is set to allow it to run. It can't change that basic setting.
Charles Kenyon See the MVP FAQ: <URL: http://www.mvps.org/word/
which is awesome! --------- --------- --------- --------- ---------
--------- This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn from my
ignorance and your wisdom.
to low

in
 

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