Article ID: 288985 - Last Review: January 31, 2007 - Revision: 1.3 Description of digital signatures in Excel 2002 workbooksThis article was previously published under Q288985 For a Microsoft Excel 2003 version of this article,
see
820738
(http://support.microsoft.com/kb/820738/
)
. On This PageSUMMARY
In Microsoft Excel 2002, you can digitally sign a workbook. Doing so
ensures that you were the last person to make changes to the
workbook. Earlier versions of Microsoft Excel support digitally signing Microsoft Visual Basic for Applications (VBA) macro projects. For more information, please see the "References" section later in this article. This article discusses the following topics regarding workbook signing:
MORE INFORMATIONWhat Is a Digital Certificate?Digital certificates and signatures assure you that the file that you are about to use comes from a reliable source and has not been tampered with.A digital certificate is an ID that a file carries with it. To validate a signature, a certifying authority validates information about the creator of the file and then issues the digital certificate. The digital certificate contains information about the person to whom the certificate was issued, as well as information about the certifying authority that issued it. When a digital certificate is used to sign a file, this ID is stored with the file in a secure and verifiable form so that it can be displayed to a user. What Is a Signature?Excel uses digital signatures on the workbook contents to ensure that the workbook has not been modified and saved since it was signed. Digital signatures can also help you distinguish workbooks and macros created by a reliable source from undesirable and potentially damaging workbooks or macro code (viruses).A digital signature is a public certificate plus the value of the signed data as encrypted by a private key. The value is a number that a cryptographic algorithm generates for any data that you want to sign. This algorithm makes it nearly impossible to change the data without changing the resulting value. So, by encrypting the value instead of the data, a digital signature allows a user to verify the data was not changed. NOTE: When you digitally sign a file, it is important to understand that the digital signature generated by Microsoft Office may not constitute a legally binding signature in all U.S. states, Canadian provinces, or in other countries. You should consult with the law of the appropriate jurisdiction before relying on a digital signature as a binding legal signature. You should also understand that this feature cannot in all circumstances check the validity of the digital certificate on which the digital signature is based. Therefore, it is important that you verify that the digital certificate is valid before you use it to sign a document. What Happens When I Use a Digital Signature?You can view and edit signed Excel workbooks, although you cannot modify and save a signed workbook without invalidating the signature. For instance, you can sign a file and other users can view the file. As long as the file remains signed, others will know it came from you and has not been modified.Signing a workbook is different from signing a VBA Project. You can sign the workbook for content and you can also sign the VBA Project in the same workbook. What Excel Files Can I Sign?You can sign any native Excel file format, including templates, as well as earlier versions of the file format, such as Excel 5/95. However, Excel 2002 is the only version of Excel that recognizes the signature.Signing a template and then creating a new workbook based upon that template results in a signed, unsaved workbook. The main purpose for signing a template is to ensure that the original template was not modified. Excel does not allow you to sign a shared workbook, because more that one person can make changes to the workbook. NOTE: In Excel, no VBA method or property is available to sign or read signature information for a workbook. How Can I Obtain a Signature?To obtain a digital signature, you first need a digital certificate.You can obtain a digital certificate from a commercial certification authority or from your internal security administrator or Information Technology (IT) professional. A certification authority can issue you a digital certificate for a fee. The certification authority does an in-depth identification check before it issues a digital certificate. The following companies are examples of digital certificate authorities:
You can create your own certificate for personal use or testing purposes with the SelfCert.exe tool that is provided in Office. This unauthenticated certificate allows you to sign your own workbooks. Because this type of certificate is not validated by a certification authority, other users will see a warning not to trust the workbook if it contains macros. To Install the SelfCert ToolTo install the tool, follow these steps:
To Create a Test CertificateTo create a test certificate for use with your workbooks, follow these steps:
How Do I Sign a Workbook?To digitally sign your workbook, follow these steps:
Book1.xls [Signed]
REFERENCESFor more information about digitally
signing macros and workbooks, click Microsoft Excel Help on the Help menu, type digital signatures in the
Office Assistant or the Answer Wizard, and then click Search to view the topics returned.
| Article Translations
|

Back to the top
