WD2000: VBA Code Lost When Converting to Another File Format

Article translations Article translations
Article ID: 212387 - View products that this article applies to.
This article was previously published under Q212387
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

SYMPTOMS

When you save a Word document that contains Visual Basic for Applications code in another document format, such as Rich-Text Format (RTF), the Visual Basic for Applications code is lost.

When you try to save in another file format, the following warning appears:
All macros in this document will be lost if the document is saved
in "Selected Document Format";. Do you want to save in this
format anyway?

CAUSE

None of the converters that ship with Word supports the retention of Visual Basic for Applications code. If you need to save a document that contains code (macros) in a format other than Word 97 or Word 2000, make sure you have a backup copy of the document before you convert it.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

REFERENCES

For additional information about getting help with Microsoft Visual Basic forApplications, click the article number below to view the article in the Microsoft Knowledge Base:
226118 OFF2000: Programming Resources for Visual Basic for Applications

Properties

Article ID: 212387 - Last Review: February 23, 2014 - Revision: 1.0
APPLIES TO
  • Microsoft Word 2000 Standard Edition
Keywords: 
kbnosurvey kbarchive kberrmsg kbbug kbnofix kbconversion kbother kbdtacode KB212387

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com