Microsoft KB Archive/212387

= WD2000: VBA Code Lost When Converting to Another File Format =

Article ID: 212387

Article Last Modified on 12/6/2000

-

APPLIES TO


 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q212387





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.

