MsoAutomationSecurity Enumeration

Specifies the security mode an application uses when programmatically opening files.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Public Enumeration MsoAutomationSecurity
'Usage
Dim instance As MsoAutomationSecurity
public enum MsoAutomationSecurity

Members

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.

See Also

Reference

Microsoft.Office.Core Namespace