title | api_name | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|
MsoAutomationSecurity enumeration (Office) |
|
6147cad7-3db3-7f9a-397e-62dd64b89b50 |
01/31/2019 |
medium |
Specifies the security mode an application uses when programmatically opening files.
Name | Value | Description |
---|---|---|
msoAutomationSecurityByUI | 2 | Uses the security setting specified in the Security dialog box. |
msoAutomationSecurityForceDisable | 3 | Disables all macros in all files opened programmatically without showing any security alerts. |
msoAutomationSecurityLow | 1 | Enables all macros. This is the default value when the application is started. |
[!includeSupport and feedback]