Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.AutomationSecurity Property (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Gets or sets a value that represents the security mode that Project uses when programmatically opening files. Read/write MsoAutomationSecurity.

Syntax

expression. AutomationSecurity

expression A variable that represents an Application object.

Remarks

The default value of the AutomationSecurity property is msoAutomationSecurityByUI. The value can be one of the following MsoAutomationSecurity constants:

ConstantDescription
msoAutomationSecurityByUIUses the security setting specified on the Macro Settings tab of the Trust Center dialog box.
msoAutomationSecurityForceDisableDisables all macros in all files opened programmatically without showing any security alerts.
msoAutomationSecurityLowEnables all macros. This value is not recommended because potentially dangerous code can run.

Macro Settings tab of the Trust Center dialog box has four settings for the macro security level. The default setting is Disable all macros with notification. For more information about security settings and digital code signing, see the links on the Trust Center tab of the Project Options dialog box.

© 2018 Microsoft