Microsoft KB Archive/307731

= How to add a digital signature to a custom macro project in Office 2003 and Office XP =

Article ID: 307731

Article Last Modified on 4/12/2006

-

APPLIES TO


 * Microsoft Office Word 2003
 * Microsoft Word 2002 Standard Edition
 * Microsoft Office Excel 2003
 * Microsoft Excel 2002 Standard Edition
 * Microsoft Office Outlook 2003
 * Microsoft Outlook 2002 Standard Edition
 * Microsoft Office PowerPoint 2003
 * Microsoft PowerPoint 2002 Standard Edition

-



This article was previously published under Q307731



IN THIS TASK
SUMMARY
 * Using Digital Signatures
 * Adding a Digital Signature to a Macro Project



SUMMARY
This article describes how to add a digital signature to your macro project.

You digitally sign a file or a macro project, so that users who run the macro can be assured of the identity of the creator of the macro and that the macro has not been altered since it was created. Because virus-like behavior can be created by using macros, digital signatures offer a safe way to continue the use of macros.

back to the top

Using Digital Signatures
A digital signature is 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. When you add a signature to a macro, you use a digital certificate, which is an attachment for a file, macro project, or e-mail message that vouches for the authenticity of the macro, provides secure encryption, or supplies a verifiable signature.

back to the top

Adding a Digital Signature to a Macro Project

 * 1) Open the file that contains the macro project that 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 that you want to sign.
 * 4) On the Tools menu, click Digital Signature.
 * 5) Do one of the following:


 * 1) * If you did not select a digital certificate, or if you want to use a different digital certificate, click Choose, select the certificate that you want, and then click OK twice.
 * 2) * Use the current certificate, and then click OK.

back to the top

Additional query words: ol2003 xl2003 ppt2003 wd2003

Keywords: kbhowtomaster kbmacro kbsecurity kbdigitalsignatures KB307731

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.