Microsoft Outlook 2013: Error verify VBA project signature

前端 未结 4 1870
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-12 04:37

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 attempti

4条回答
  •  再見小時候
    2021-01-12 04:49

    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

提交回复
热议问题