Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

How can I by pass macro protection?

How can I by pass macro protection?
I must write code that work immedieatly when openning my documentation.
This is for protect and let my program more strongly.
Best regard,
ordinary
[204 byte] By [ordinary] at [2007-11-10 12:23:05]
# 1 Re: How can I by pass macro protection?
On 25 Feb 2003 18:24:31 -0800, "ordinary" <ordinary@hotmail.com> wrote:

How can I by pass macro protection?
I must write code that work immedieatly when openning my documentation.
This is for protect and let my program more strongly.

You can't. Macro security is dependent upon the user's application settings. The maximum Security
Level setting for executing macros (with a warning) is Medium. If the setting is High macros will be
disabled (Word 2000 and XP).

The only way around the High setting is to have your project digitally signed:

OFF2000: Using SelfCert to Create a Digital Certificate for VBA Projects
http://support.microsoft.com/default.aspx?scid=kb;EN-US;217221

OFF2000: Overview of Digital Certificates
http://support.microsoft.com/default.aspx?scid=kb;EN-US;206637

Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
Paul Clement at 2007-11-11 17:45:39 >