Microsoft KB Archive/166098: Difference between revisions

From BetaArchive Wiki
m (Text replacement - ">" to ">")
m (Text replacement - """ to """)
 
Line 58: Line 58:
<div class="errormessage">
<div class="errormessage">


{autoindex &quot;<Any text>&quot; \* Mergeformat }
{autoindex "<Any text>" \* Mergeformat }


</div>
</div>
Line 87: Line 87:
# Open the document in Word 97.
# Open the document in Word 97.
# On the File menu, click Save As.
# On the File menu, click Save As.
# In the Save As dialog box, change the &quot;Save File as type&quot; to either &quot;Word 6.0/95&quot; or &quot;Rich Text Format.&quot;
# In the Save As dialog box, change the "Save File as type" to either "Word 6.0/95" or "Rich Text Format."


For additional information, please see the following article in the Microsoft Knowledge Base:
For additional information, please see the following article in the Microsoft Knowledge Base:
Line 120: Line 120:


</div>
</div>
and then double-click the selected text to go to the &quot;DOCVARIABLE field&quot; topic. If you are unable to find the information you need, ask the Office Assistant.
and then double-click the selected text to go to the "DOCVARIABLE field" topic. If you are unable to find the information you need, ask the Office Assistant.


</div>
</div>

Latest revision as of 11:02, 21 July 2020

Article ID: 166098

Article Last Modified on 1/19/2007



APPLIES TO

  • Microsoft Word 97 Standard Edition



This article was previously published under Q166098


SYMPTOMS

When you open a Word 97 document in an earlier version of Word, the following field error may be displayed:

Error! Bookmark not defined.

Viewing field codes(ALT+F9) displays the following field:

{autoindex "<Any text>" \* Mergeformat }

CAUSE

The document contained a DocVariable field that was inserted and saved from Word 97 and the document has been:

  • Opened in an earlier version of Word (6.x or 7.x) using the Word 97 import converter.


-or-

  • Opened and saved from a earlier version of Word (6.x or 7.x) using the Word 97 import converter and has been reopened in Word 97.

The Autoindex field is a converted DocVariable field. Because the DocVariable field is not available in versions of Word prior to Word 97, the conversion process does not convert it. The document variables are lost during the conversion and cannot be retrieved.

WORKAROUND

To retain the document variables, while in Word 97, use the following steps to save the document using the Microsoft Word 6.0/95 or the Rich Text Format converter:

  1. Open the document in Word 97.
  2. On the File menu, click Save As.
  3. In the Save As dialog box, change the "Save File as type" to either "Word 6.0/95" or "Rich Text Format."

For additional information, please see the following article in the Microsoft Knowledge Base:

162602 WD97: Questions About Saving in the Word 6.0/95 File Format


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

MORE INFORMATION

DocVariable Field Description

Inserts the string assigned to a document variable. Each document has a collection of variables, which can be added and referenced by the Visual Basic for Applications programming language. This field provides a way to display the contents of the document variables in the document.

For more information about document variable fields, click Contents And Index on the Help menu, click the Index tab in Word Help, type the following text

docvariable


and then double-click the selected text to go to the "DOCVARIABLE field" topic. If you are unable to find the information you need, ask the Office Assistant.

REFERENCES

For more information about getting help with Visual Basic for Applications, please see the following article in the Microsoft Knowledge Base:

163435 VBA: Programming Resources for Visual Basic for Applications



Additional query words: vb vba vbe

Keywords: kbbug kberrmsg kbfield kbother kbpending kbusage KB166098