WD2000: Error Message: "Style Not Defined" with StyleRef Field

ID: Q247608


The information in this article applies to:
  • Microsoft Word 2000


SYMPTOMS

When you use a STYLEREF field that references a style name and you open the document in a different language version of Word than the one it was created in, the following error message may appear, rather than the correct style reference:

Error! Style not defined
The error message may appear in the language of the version of Word that is in use. For example, in the French version of Word, you may see the following:
Erreur ! Style non defini


CAUSE

The STYLEREF field references styles by name, and Word does not translate built-in style names to the language in use.


WORKAROUND

To work around this problem, do the following:

Change the StyleRef Field to Point to the Correct Style Name

  1. Display field codes by pressing ALT+F9.


  2. Change the reference to the correct name. For example, change STYLEREF "Titre 1" to STYLEREF "Heading 1" if you are converting from French Word to English Word.


  3. Press F9 to update the field.




STATUS

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

Additional query words: WD2000, migrate, migrating, language, styleref, field, reference, convert

Keywords : kbdta wd2000
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: December 7, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.