Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (25 sloc) 1.44 KB
title keywords f1_keywords ms.prod api_name ms.assetid ms.date localization_priority
Application.AutomationSecurity property (Access)
vbaac10.chm12611
vbaac10.chm12611
access
Access.Application.AutomationSecurity
4589f050-4b0c-8dba-309a-98ad3921baa7
02/05/2019
Normal

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

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.

[!includeSupport and feedback]

You can’t perform that action at this time.