Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set macro security levet to LOW using VBA? 1

Status
Not open for further replies.

surotkin

Programmer
Dec 10, 2003
103
CA
Hello everyone,
I am wondering if it is possible to use VBA to set macro security levet to LOW (TOOLS->MACRO->SECURITY).

Does anybody have an idea?

Thanks.
surotkin
 
Well,

That would be a breach of security, wouldn't it? The "low" is to prevent VBA from being executed in the first place...


EasyIT
 
edit the registry key...

HKLM\SOFTWARE\Microsoft\Office\11.0\Access\Security\Level = 1

--------------------
Procrastinate Now!
 
Hi Crowley16,
thanks a lot.
It works (even though I am getting a security message of unsafe expressions).
Just one detail, on my computer I did not find this key under HKLM, but I found it under HKEY_CURRENT_USER.

Thanks.
surotkin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top