MsoAutomationSecurity Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the security mode an application uses when programmatically opening files.
public enum class MsoAutomationSecurity
public enum MsoAutomationSecurity
type MsoAutomationSecurity =
Public Enum MsoAutomationSecurity
- Inheritance
-
MsoAutomationSecurity
Fields
Name | Value | Description |
---|---|---|
msoAutomationSecurityLow | 1 | Enables all macros. This is the default value when the application is started. |
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. |