

Manually save the changes that you made to the project before you close the Visual Basic window by using either of the following methods: This issue occurs because exiting Visual Basic effectively cancels the changes that you made to the project, so the certificate is no longer assigned to the macro. Please refer to the online help or documentation of the host application to determine how to enable macros. When you try to run the macro, you receive the error message: The macros in this project are disabled. In this scenario, you receive the error message: An error occurred while attempting to verify the VBA project's signature. You start Outlook, and then you start Visual Basic.

When you're prompted to save the Visual Basic project, you click Yes.

You set the Macro Security to Notifications for digitally signed macros, all other macros disabled on the Developer tab in Microsoft Outlook.
