WD2000: "Error! Not a valid filename" Viewing Word 95 Document (220539)



The information in this article applies to:

  • Microsoft Word 2000

This article was previously published under Q220539

SYMPTOMS

When you open a Word 95 document that contains an IncludeText field in Word 2000, the field may produce one of the following error messages when updated:
Error! Not a valid filename.
-or-

Error! Cannot open file.

CAUSE

The IncludeText field may be using a bookmark set by the Set field as part of the file path for the IncludeText field.

For example:

{ Set DocPath "C:\\My Documents" }

{ IncludeText "{ DocPath }\\MyDoc.Doc" }

RESOLUTION

To resolve this problem, remove the extra backslash from the path used in the Set field, and then update both fields.

For example, change

{ Set DocPath "C:\\My Documents" }

to

{ Set DocPath "C:\My Documents" }

NOTE: To update a Word field, select the field, and then press F9.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

For more information about the Set field, click Microsoft Word Help on the Help menu, type Set field in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.


For more information about the IncludeText field, click Microsoft Word Help on the Help menu, type IncludeText field in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

Modification Type:MajorLast Reviewed:12/6/2000
Keywords:kbbug KB220539