MsoAutomationSecurity enumeration
Office 2013 and later
Specifies the security mode an application uses when programmatically opening files.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
| Member name | Description | |
|---|---|---|
| msoAutomationSecurityLow | Enables all macros. This is the default value when the application is started. | |
| 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. |
Show: