Share via


Application.AutomationSecurity Property (Access)

Returns or sets an MsoAutomationSecurity constant that represents the security mode that Microsoft Access uses when it is programmatically opening files. Read/write. .

Syntax

.AutomationSecurity

A variable that represents an Application object.

Remarks

MsoAutomationSecurity can be one of these MsoAutomationSecurity constants:

msoAutomationSecurityByUI Uses the security setting specified in the Security dialog box (Tools menu, Macro submenu). msoAutomationSecurityByUI is the default value when the application is started.

msoAutomationSecurityForceDisable Access will not open any database if the macro security level is set to High or Medium in the Security dialog box (Tools menu, Macro submenu). No security messages are shown to the user.

참고 사항참고
This setting has no effect if the macro security level is set to Low.

msoAutomationSecurityLow Enables all macros.

참고 항목

개념

Application Object

Application Object Members