Microsoft KB Archive/220539

= WD2000: "Error! Not a valid filename" Viewing Word 95 Document =

Article ID: 220539

Article Last Modified on 12/6/2000

-

APPLIES TO


 * Microsoft Word 2000 Standard Edition

-



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.

Keywords: kbbug kbnofix KB220539

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.