对我的宏进行了数字签名,但它在 excel 中仍然不会 运行
Digitally signed my macro and it still won't run in excel
我在 Excel 文件中制作了一个 VBA 脚本。出于安全原因,我不想让所有脚本 运行 所以我将我的 Excel 设置为与 Disable all macros except digitally signed macros
一起使用然后我签名并签署了我的脚本。仍然当我尝试 运行 它时,我收到以下消息:
Because of your security settings, macros have been disabled.
To run macros, you need to re-open this workbook, and then choose to enable macros
我真的不想让 maros 不受限制地使用,真的没有其他方法可以使用我自己的宏吗?
编辑:我忘了说我使用的是 Microsoft Office Excel 2007 12.06.6771.5000
您需要确保工作簿的 VBA 已正确进行数字签名。如果您打开 VB-Editor 并从菜单 Extras
› Digital Signature
中选择它必须在两个位置显示证书名称。
证书需要被信任。因此请参阅 Excel Options
› Trust Center
› Button "Preferences for Trust Center"
并查看您的证书是否在 Trusted Publishers
的列表中。如果不是,您需要 Windows 信任此证书。
在这里查看如何 trust SSL certificate to local system account。
我在 Excel 文件中制作了一个 VBA 脚本。出于安全原因,我不想让所有脚本 运行 所以我将我的 Excel 设置为与 Disable all macros except digitally signed macros
一起使用然后我签名并签署了我的脚本。仍然当我尝试 运行 它时,我收到以下消息:
Because of your security settings, macros have been disabled.
To run macros, you need to re-open this workbook, and then choose to enable macros
我真的不想让 maros 不受限制地使用,真的没有其他方法可以使用我自己的宏吗?
编辑:我忘了说我使用的是 Microsoft Office Excel 2007 12.06.6771.5000
您需要确保工作簿的 VBA 已正确进行数字签名。如果您打开 VB-Editor 并从菜单
Extras
›Digital Signature
中选择它必须在两个位置显示证书名称。证书需要被信任。因此请参阅
Excel Options
›Trust Center
›Button "Preferences for Trust Center"
并查看您的证书是否在Trusted Publishers
的列表中。如果不是,您需要 Windows 信任此证书。
在这里查看如何 trust SSL certificate to local system account。