Help and Support
 

powered byLive Search

WD97: VBA Code Lost After Converting to Another Document Format

Article ID:158060
Last Review:January 19, 2007
Revision:1.1
This article was previously published under Q158060

SYMPTOMS

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

NOTE: In the version of Microsoft Word 97 prior to Service Release 1 (SR-1), Word does not display a warning dialog box that macros will be lost when you save to another document format.

In Microsoft Word 97 Service Release 1 (SR-1), a warning appears as follows:
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?

Back to the top

CAUSE

None of the converters that ship with Word 97 supports the conversion of Visual Basic code. If you need to save a document in a format other than Word 97, make sure you have a backup copy of your Word 97 document before you convert it.

Back to the top

STATUS

Microsoft has confirmed this to be a problem in Microsoft Word 97 for Windows.

Back to the top

REFERENCES

For more information about getting help with Microsoft Visual Basic for Applications, please see the following article in the Microsoft Knowledge Base:
163435 (http://support.microsoft.com/kb/163435/EN-US/) VBA: Programming Resources for Visual Basic for Applications

Back to the top


APPLIES TO
Microsoft Word 97 Standard Edition
Microsoft Word 97 Service Pack 1

Back to the top

Keywords: 
kbconversion kbdtacode kberrmsg kbnofix kbother kbprb KB158060

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.