Frequently Asked Questions

Help Center Search

Sign Windows Office Macros and VBA Applications

Print this Article
Comment on this Article
Last Updated: February 2, 2009 9:24 AM

A code signing certificate can be used to sign content produced by several Microsoft Office applications. Word, Excel and PowerPoint allow digital signatures to be added to documents.

Sign Microsoft Office Applications and VBA Applications

NOTE: The code signing certificate and private key must be already present in the Windows certificate store. Refer to Installing Code Signing Certificate in Windows, for installation instructions.

Establishing trust level for Office applications

  • Office 2007 - Go to the Options button in the drop down menu displayed when the Office button in the upper left corner is pressed. Select the Trust Center tab and clickTrust Center Settings. The various options are displayed in the Macros section.
  • Office 2003 - Select the Tools->Macro->Security menu item.

You must associate a code signing certificate with document to be signed. Click the Tools menu and select Digital Signature in the VBA Editor. Click Choose and select your certificate in the Select Certificate window that displays.

Click OK. Your document is now signed.