Microsoft Outlook 2013:验证 VBA 项目签名时出错 [英] Microsoft Outlook 2013: Error verify VBA project signature

查看:20
本文介绍了Microsoft Outlook 2013:验证 VBA 项目签名时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在计算机重置后,我想将我的 VBA 宏用于 Outlook 2013.

After a computer reset I wanted to use my VBA Macros for Outlook 2013.

在 Outlook 中,我收到错误消息:

In Outlook I get the error message:

尝试验证 VBA 项目的签名时出错.宏将被禁用."

"An errror occured while attempting to verify the VBA project's signature. Macros will be disabled."

因此 VBA 编辑器声明:

Consequently the VBA editor states:

此项目中的宏已禁用.[..]"

"The macros in this project are disabled. [..]"

我试过了:

  1. 开发人员 -> 宏安全 -> (*) 启用所有宏(不仅仅是数字签名)

  1. Developer -> Macro Security -> (*) Enable all Macros (not only digitally signed)

使用

C:Program Files (x86)Microsoft OfficeOffice15selfcert.exe

没有任何效果.有什么想法吗?

Nothing worked. Any idea?

推荐答案

好的,我找到了问题的原因:

Ok, I found the reason for my problem:

(1) selfcert.exe 的证书 nameofmycert 已分配给我的 VBA 项目.

(1) The Certificate nameofmycert by selfcert.exe was assigned to my VBA project.

(2) 但是我没有将它分配给受信任的机构,例如:https://technet.microsoft.com/en-us/library/cc754841.aspx#BKMK_addlocal

(2) However I didn't assign it to a trusted authority, like seen in: https://technet.microsoft.com/en-us/library/cc754841.aspx#BKMK_addlocal

(3) Outlook 设置为允许所有宏(不仅仅是数字签名).无论如何,它发现我的 VBA 项目已通过认证,但由于 (2) 的原因,不确定认证是否正确.因此它停用了所有宏.

(3) Outlook was set to allow all macros (not only digitally signed). Anyhow it found that my VBA project was certified, but was not sure if the cerification is correct, because of (2). Therefore it deactivated all macros.

(4) 在 VBA/Tools/Dignital Signature 中出现:

(4) In VBA/Tools / Dignital Signature it appeared:

Certificate name: [no certificate]
Sign as: nameofmycert

移除按钮已停用.

解决方案:

(1) VBA/工具/数字签名

(1) VBA/Tools / Digital Signature

(2) 点击Choose .. 并选择证书.然后删除按钮被激活.

(2) Click on Choose .. and select a cerificate. Then the remove-botton is activated.

(3) 点击Remove Certificate

(4) 保存 VBA 项目

(4) Save VBA project

(5) 重启 Outlook

(5) Restart Outlook

这篇关于Microsoft Outlook 2013:验证 VBA 项目签名时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆