How to implement Code Signing for Visual Basic for Applications in Microsoft Office 2007?

Please follow our Visual Basic for Applications (VBA) in Microsoft Office 2007 Signing instructions to sign your components using your Code Signing certificate:

1. Open your document and right-click the ribbon bar and select Customize Quick Access Toolbar.

2. In Options, select Popular and check Show Developer tab in the Ribbon.

3. Go to the Developer tab and click Visual Basic.

4. Visual Basic Editor will open. Right-click on Microsoft Word Objects, select Insert and click Module.

5. Go to Tools > Digital Signature.

6. Choose the certificate you want to use to sign the module.

7. You will see that the Module is now signed.

8. Save your file from inside the Visual Basic Editor.

9. To test the signature, completely close the document and reopen it. If Macros are disabled you will receive the Security Warning bar, click Options to continue.

10. You will see that the Macro is signed and you can Trust all documents from this publisher.