Microsoft KB Archive/80743

{|
 * width="100%"|

Error Opening WordPerfect Document with Blank Style Name

 * }

Q80743

-

The information in this article applies to:


 * Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a

-

SYMPTOMS
When you open a WordPerfect 5.1 for MS-DOS or WordPerfect 5.1 or 5.2 for Windows in Word for Windows, you may receive one of the following error messages:

This is not a valid style name.

"-or-"

Word cannot open the document.

When you run Windows 3.0, you may receive an unrecoverable application error (UAE) or, when you run Windows 3.1, you may receive a general protection (GP) fault instead.

CAUSE
Some versions of WordPerfect save unnamed styles with no name. Other WordPerfect versions insert a number in the style name field when no name has been supplied.

RESOLUTION
NOTE: In WordPerfect, to display a list of the styles, press ALT+F8. A style menu appears with a vertical list of styles names, types, and descriptions. The list of styles is similar to the following sample:

     NAME             TYPE      DESCRIPTION ---     Bibliography     Paired    Bibliography Document        Outline   Outline Document Style Tech Init       Open      Initialize Technical Style Work with a copy of the file, not the original. To do this, save a copy of the original file with a different filename.

Open the document copy in WordPerfect and do one of the following:


 * Name the unnamed style.
 * Delete any style with an unusual name.
 * Turn on Reveal Codes and preview each style to determine if it contains any unusual WordPerfect codes. For example, with Reveal Codes turned on, a style list might display as follows:

Do the following to delete a style in WordPerfect for Windows:


 * 1) Use the UP ARROW and DOWN ARROW keys to select the style you want to delete.
 * 2) Choose the Delete button.
 * 3) Select the Leave Format Codes option, and then choose the Close button.

Do the following to delete a style in WordPerfect for MS-DOS:


 * 1) Use the UP ARROW and DOWN ARROW keys to select the style you want to delete.
 * 2) Select (5) for Delete.
 * 3) Select (1) for Leave Code.
 * 4) Press F7 to exit the Style menu, and then press F7 until WordPerfect prompts you to save the file.

Word for Windows should now successfully convert the WordPerfect document.

MORE INFORMATION
The WordPerfect converters supplied with Word that convert WordPerfect style information as direct formatting may issue an error message when opening a WordPerfect document that contains a style with no name but may open the document.

The WordPerfect converters supplied with Word that convert WordPerfect style information as Word styles may not be able to handle a style with no name and hence not open the WordPerfect document.

Word versions 1.x for Windows converts WordPerfect styles to direct formatting.

Word versions 2.0 and 2.0a for Windows attempts to preserve WordPerfect style information as Word styles. The WordPerfect converter supplied with Word versions 2.0 and 2.0a cannot handle a style with no name, so an error occurs and the document does not open. Word version 2.0b and 2.0c converts WordPerfect style information as direct formatting.

Word version 6.0 converts WordPerfect style information as Word Paragarph or Character Styles. Word 6.0 converts WordPerfect open, paired, and outline styles containing paragraph formatting to Paragraph styles. WordPerfect styles that contain only character formatting become Word 6.0 Character styles. Text or nonparagraph or character-level formatting properties contained in WordPerfect styles (for example, table definitions) are converted as text or direct formatting.

Additional query words: wpft5.cnv

Keywords :

Issue type :

Technology :