WD: "Cannot Open File" Error in INCLUDETEXT Field (122193)
The information in this article applies to:
- Microsoft Word for the Macintosh 6.0
- Microsoft Word for the Macintosh 6.0.1
- Microsoft Word for Windows 95
- Microsoft Word for Windows 95 7.0a
- Microsoft Word 98 Macintosh Edition
This article was previously published under Q122193 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
When you manually insert an INCLUDETEXT field in your document, and the
path has a space in the folder or file name, this error occurs if you
do not enclose the path and file name in quotation marks.
WORKAROUND
You must enclose the file name argument for an INCLUDETEXT field in
quotation marks if there are spaces in any part of the path or file name.
Example of Incorrect IncludeText Field:
In Word for Windows - {INCLUDETEXT c:\\my documents\\test.doc}
In Word for Macintosh - {INCLUDETEXT Macintosh HD:documents:test}
Example of Correct IncludeText Field:
In Word for Windows - {INCLUDETEXT "c:\\my documents\\test.doc"}
In Word for Macintosh - {INCLUDETEXT "Macintosh HD:documents:test"}
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | kbfield kbprb KB122193 |
---|
|