Microsoft KB Archive/220806

= WD2000: Digital Signature Is Lost When You Save Word Document =

Article ID: 220806

Article Last Modified on 6/17/2005

-

APPLIES TO


 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q220806



SYMPTOMS
When you save a Word document that contains a digitally signed macro, the digital signature is lost.

This problem occurs with any of the following:

Cause 1
When you make changes to a digitally signed macro and try to save your changes, you receive the following message to indicate the loss of the digital signature:

You have modified a signed project. You do not have the right key to sign this project. The signature will be discarded.

Resolution
To prevent this problem, make the changes to your macro on the system that was used to create the digital signature.

Cause 2
When you programmatically try to save a document that contains a digitally signed macro, the digital signature is lost. For example, if you use the following sample macro to save your Word document, the digital signature is lost with no warning message: Application.ActiveDocument.SaveAs "C:\Test.doc"

Resolution
To resolve the problem described in this article, obtain and install the latest Microsoft Word 2000 update from the following Microsoft Web site:

http://office.microsoft.com/downloads/2000/Wd2kmsec.aspx

IMPORTANT NOTE: Microsoft Word 2000 post-service release fixes are cumulative. The latest update contains all of the fixes since Service Release 1/1a. If you install the latest update for Word 2000, you do not need to install any other updates after Service Release 1/1a.

For additional information about the fixes included in the latest update for Word 2000, click the article number below to view the article in the Microsoft Knowledge Base:

298409 WD2000: Post Service Release Fixes for Word 2000

Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem is fixed in the latest Word 2000 update.

Cause 3
When you save a Word document that contains a digitally signed macro, and the document is saved in the foreground, even if the Allow background saves option is selected, the digital signature is lost.

For example, when you save a mail merge main document, and it contains a digitally signed macro, the digital signature is lost.

For additional information about the problem of the mail merge main document being saved in the foreground, click the article number below to view the article in the Microsoft Knowledge Base:

211437 WD2000: Mail Merge Main Documents and Data Documents Not Saved in Background

Resolution
To resolve the problem described in this article, obtain and install the latest Microsoft Word 2000 update from the following Microsoft Web site:

http://office.microsoft.com/downloads/2000/Wd2kmsec.aspx

IMPORTANT NOTE: Microsoft Word 2000 post-service release fixes are cumulative. The latest update contains all of the fixes since Service Release 1/1a. If you install the latest update for Word 2000, you do not need to install any other updates after Service Release 1/1a.

For additional information about the fixes included in the latest update for Word 2000, click the article number below to view the article in the Microsoft Knowledge Base:

298409 WD2000: Post Service Release Fixes for Word 2000

Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem is fixed in the latest Word 2000 update.



MORE INFORMATION
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.

For more information about how to use the sample code in this article, click the article number below to view the article in the Microsoft Knowledge Base:

212536 OFF2000: How to Run Sample Code from Knowledge Base Articles

