Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.56 KB

Project.Application.AutomationSecurity.md

File metadata and controls

38 lines (23 loc) · 1.56 KB
title ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.AutomationSecurity property (Project)
project-server
Project.Application.AutomationSecurity
08f71d7f-37bf-c845-89c3-a69e34892efe
06/08/2017
medium

Application.AutomationSecurity property (Project)

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:

Constant Description
msoAutomationSecurityByUI Uses the security setting specified on the Macro Settings tab of the Trust Center dialog box.
msoAutomationSecurityForceDisable Disables all macros in all files opened programmatically without showing any security alerts.
msoAutomationSecurityLow Enables 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.

[!includeSupport and feedback]