WD: "Error! Style Not Defined" When Printing File
ID: Q160931
|
The information in this article applies to:
-
Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
-
Microsoft Word for Windows 95, version 7.0
SYMPTOMS
In Word 6.x or 7.x, the following error message appears when you
attempt to print or preview a Word 97 document:
Error! Style not defined. Error! Bookmark not defined.
CAUSE
The Seq and StyleRef fields contain switches that are not supported in Word
6.0 or 7.0. Specifically, all Seq fields contain a \s 1 switch, and the
StyleRef field contains a \s switch.
RESOLUTION
To resolve this problem, upgrade to the latest version of the Word 97-2000
Import Converter. For additional information, please see the following article in the Microsoft Knowledge Base:
Q162214 WD: How to Obtain the Word 97-2000 Import Converter
To temporarily work around this problem, follow these steps:
- Open the Word 97 document in Word 6.0 or Word 7.0.
- On the Format menu, click Heading Numbering. Select the heading
numbering style you want to use, and then click OK. Click Yes when you
receive the message that Word is removing bullets and numbering.
- Turn on view field codes by pressing ALT+F9. The field codes used for
the caption look similar to this:
Figure {STYLEREF 1 \s}-{SEQ Figure \* Arabic \s 1}
- On the Edit menu, click Replace.
- In the Find What box, type "\s 1" (without the quotation marks). In the
Replace with box, type "\r 1" (without the quotation marks). Click Find
Next until you locate a SEQ field that immediately follows a paragraph
formatted with a heading style. Click Replace to replace the field
switch. Repeat this step for all SEQ fields that immediately follow a
paragraph formatted with a heading style.
- Click OK.
Do not close the Replace dialog box.
- In the Find what box, type "Arabic \s 1" (without the quotation marks).
In the Replace with box, type "Arabic" (without the quotation marks).
Click Replace All.
This replaces the switches in all SEQ fields that do not immediately
follow a paragraph formatted with a heading style.
- Click OK.
Do not close the Replace dialog box.
- In the Find what box, type "STYLEREF 1 \s" (without the quotation
marks). In the Replace with box, type "STYLEREF 1 \n" (without the
quotation marks). Click Replace All.
- Click OK.
- Click Close.
- Turn off fields codes by pressing ALT+F9.
- On the File menu, click Print Preview.
All the caption fields will be updated.
- Click the Close button on the Print Preview toolbar.
The caption fields used for the caption should look similar to the
following after you complete the previous steps. The caption that follows a
paragraph formatted with a heading style should look like this:
Figure {STYLEREF 1 \n}-{SEQ Figure \* Arabic \r 1}
The subsequent captions should look like this:
Figure {STYLEREF 1 \n}-{SEQ Figure \* Arabic}
STATUS
Microsoft has confirmed this to be a problem with certain versions of the
Word 97 Import converter.
This problem is corrected in the version of the converter available
with Microsoft Office 97 SR-2.
Additional query words:
8.0 word8 word97 sequence
Keywords : kbinterop kbdta kbconversion kbfield
Version : WINDOWS:6.0,6.0a,6.0c,7.0
Platform : WINDOWS
Issue type : kbbug