Application.MacroSecurity 方法 (Project)

Displays the Security dialog box, which can be used to set the security level for macros. It also lists any macro sources that can be trusted.

语法

expressionMacroSecurity

expression:表示 Application 对象的变量。

返回值

Boolean

说明

MacroSecurity 方法的效果与单击 信任中心设置项目选项对话框中,然后单击 宏设置

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。