Düzenle

Aracılığıyla paylaş


MsoAutomationSecurity enumeration (Office)

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

Name Value Description
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.
msoAutomationSecurityLow 1 Enables all macros. This is the default value when the application is started.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.