Add a digital signature to a file or a VBA project

You digitally sign (digital signature: An electronic, encryption-based, secure stamp of authentication on a macro or document. This signature confirms that the macro or document originated from the signer and has not been altered.) a file or a Visual Basic for Applications (VBA) project by using a digital certificate (digital certificate: Attachment for a file, macro project, or e-mail message that vouches for authenticity, provides secure encryption, or supplies a verifiable signature. To digitally sign macro projects, you must install a digital certificate.).

  1. If you don't already have a digital certificate, you must obtain one.

ShowHow?

You can obtain a digital certificate from a commercial certification authority, such as VeriSign, Inc., or from your internal security administrator or Information Technology (IT) professional. Or, you can create a digital signature yourself by using the Selfcert.exe tool.

To learn more about certification authorities that offer services for Microsoft products, see the list of Microsoft Root Certificate Program Members, on the MSDN Web site.

 Notes 

  1. Open the file that contains the VBA project you want to sign.
  2. On the Tools menu, point to Macro, and then click Visual Basic Editor.
  3. In the Project Explorer, select the project you want to sign.
  4. On the Tools menu, click Digital Signature.
  5. If you haven't previously selected a digital certificate or want to use another one, click Choose, select the certificate, and then click OK twice.
  6. To use the current certificate, click OK.

ShowTips

For more information about digital certificates and signing projects, see Signing a VBA Project.

 
 
Applies to:
Access 2003