Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.AutomationSecurity Property (Access)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

Syntax

expression. AutomationSecurity

expression 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. Note This setting has no effect if the macro security level is set to Low.

| |msoAutomationSecurityLow Enables all macros.|

See also

Concepts

Application Object

© 2018 Microsoft