Microsoft KB Archive/212060

= WD2000: "Cannot Open File" Error in INCLUDETEXT Field =

Article ID: 212060

Article Last Modified on 12/6/2000

-

APPLIES TO


 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q212060





SYMPTOMS
When you insert an INCLUDETEXT field in a Microsoft Word document, the following error message appears in place of the field results:

Error! Cannot open file.



CAUSE
This message appears if any of the following conditions is true:  The file does not exist in the path specified.

-or- The file path has a space in the folder or file name, similar to the following examples:

{INCLUDETEXT c:\\my documents\\test.doc}

-or-

{INCLUDETEXT c:\\my test.doc}

-or-

 The file path has a single backslash rather than double backslashes separating the folder and/or file name, similar to this:

{INCLUDETEXT "c:\my documents\test.doc"}





RESOLUTION
Make sure the file is located in the path you specified in the INCLUDETEXT field. If it is not, move it to this location or change the path in the INCLUDETEXT field so that it points to the correct location.

If the file is located in the path you specified in the INCLUDETEXT field, and the path contains one or more spaces in either the folder or file name, enclose the path in quotation marks, like this:

{INCLUDETEXT "C:\\My Documents\\Test.doc"}

If the file is located in the path you specified in the INCLUDETEXT field, and the path contains one or more single backslashes, change these to double backslashes, like this:

{INCLUDETEXT C:\\Documents\\Word\\Test.doc}

Additional query words: fields documentation error

Keywords: kbprb kbfield KB212060

-

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

© Microsoft Corporation. All rights reserved.