AutomationSecurity Property

Returns or sets an MsoAutomationSecurity constant that represents the security mode Project uses when programmatically opening files. This property is automatically set to msoAutomationSecurityLow when the application is started. Read/write.

Can be one of the following MsoAutomationSecurity constants:

Constant Description
msoAutomationSecurityByUI Uses the security setting specified in the Security dialog box.
msoAutomationSecurityForceDisable Disables all macros in all files opened programmatically without showing any security alerts.
msoAutomationSecurityLow Enables all macros. This is the default value when the application is started.

Remarks

The Security dialog box includes the new Very High security level. For more information on security settings and digital code signing, see Security Notes for Microsoft Office Solution Developers in the Microsoft Office Visual Basic Reference.

Applies to | Application Object