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

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

问题描述

计算机重置后,我想使用我的VBA Macros for Outlook 2013。



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


尝试验证VBA项目的签名时发生错误,宏将被禁用。


因此,VBA编辑器指出:


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


我尝试过:


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


  2. 使用

    $ b

      C:\Program文件(x86)\ Microsoft Office\Office15\selfcert.exe 


没有效果。任何想法?

解决方案

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



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



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



(3)Outlook设置为允许所有宏(不仅数字签名)。无论如何,它发现我的VBA项目是认证的,但不知道如果cerification是否正确,因为(2)。因此,它停用了所有的宏。



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

 证书名称:[无证书] 
签名:nameofmycert



<



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



(2)单击选择.. 并选择证书。然后激活删除botton。



(3)点击删除证书



(4)保存VBA项目



(5)重新启动Outlook


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

In Outlook I get the error message:

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

Consequently the VBA editor states:

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

I have tried:

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

  2. Define a certificate using

    C:\Program Files (x86)\Microsoft Office\Office15\selfcert.exe
    

Nothing worked. Any idea?

解决方案

Ok, I found the reason for my problem:

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

(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 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) In VBA/Tools / Dignital Signature it appeared:

Certificate name: [no certificate]
Sign as: nameofmycert

The remove-botton was deactivated.

Solution:

(1) VBA/Tools / Digital Signature

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

(3) Click on Remove Certificate

(4) Save VBA project

(5) Restart Outlook

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

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