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.
语法
expression。 MacroSecurity
expression:表示 Application 对象的变量。
返回值
Boolean
说明
MacroSecurity 方法的效果与单击 信任中心设置项目选项对话框中,然后单击 宏设置。
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈