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

ID: Q220539


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


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 this to be a problem in the Microsoft products 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.

Additional query words:

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


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