WD2000: The DocVariable Field Is an Autoindex Field After Conversion (211558)
The information in this article applies to:
This article was previously published under Q211558 SYMPTOMS
When you open a Microsoft Word 2000 document in a version of Word earlier than Word 97, the following error message may appear:
Error! Bookmark not defined.
By viewing field codes (ALT+F9), you see the following field:
{autoindex "Any text" \* Mergeformat }
CAUSE
The document contains a DocVariable field that was inserted and saved from Word 2000, and the document has been:
- Opened in an earlier version of Word (6.x or 7.x) using the Word 2000 import converter.
-or-
- Opened and saved from a earlier version of Word (6.x, 7.x) using the Word 2000 import converter, and has been reopened in Word 2000.
The Autoindex field is a converted DocVariable field. Because the
DocVariable field is not available in versions of Word earlier than Word 97, the conversion process does not convert it in versions of Word earlier than Word 97. The document variables are lost during the conversion and cannot be retrieved.
WORKAROUND
To retain the document variables, save the document using the Microsoft Word 6.0/95 or the Rich Text Format converter while in Word 2000; to do so, follow these steps:
- Open the document in Word 2000.
- On the File menu, click Save As.
- In the Save As dialog box, change the file type (under Save as type) to either Word 6.0/95 (*.doc) or Rich Text Format(*.rtf).
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. MORE INFORMATIONDocVariable Field Description
The DocVariable field 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.
REFERENCESFor more information about saving a document in Word 6.0/95 format, click Microsoft Word Help on the Help menu, type save a Word 2000 document in Word 6.0/95 format in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about the DocVariable field, click Microsoft Word Help on the Help menu, type field codes: docvariable field in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Major | Last Reviewed: | 8/6/2002 |
---|
Keywords: | kbbug kberrmsg kbfield kbother kbusage KB211558 |
---|
|