Field codes: IncludeText field

{ INCLUDETEXT "FileName" [Bookmark ] [Switches ] }

Inserts the text and graphics contained in the named document. You can insert the entire document, or, if it's a Microsoft Word document, you can insert only the portion referred to by a bookmark. This field was formerly called the INCLUDE field.

Notes

Instructions

"FileName"
The name and location of the document. If the location includes a long file name with spaces, enclose it in quotation marks. Replace single backslashes with double backslashes to specify the path, for example:

"C:\\My Documents\\Manual.doc"

Bookmark
The name of a bookmark that refers to the portion of the document you want to include.

Switches

\!

Prevents Word from updating fields in the inserted text unless the fields are first updated in the source document.

\c ClassName

Here are file format converters provided with Word and their corresponding class names:

Microsoft Excel
MSBiff
Lotus 1-2-3
Lotus123
WordPerfect version 6.x
WordPerfect6x
WordPerfect version 5.0
WrdPrfctDos50
WordPerfect 5.1 for DOS
WrdPrfctDos51
WordPerfect 5.x for Windows
WrdPrfctWin
WordPerfect 5.1 or 5.2 Secondary File
WrdPrfctDat
WordPerfect 5.0 Secondary File
WrdPrfctDat50
Word version 4û5.x for the Macintosh
MSWordMac
Word version 3.xû5.x for MS-DOS
MSWordDOS
Word version 6 for MS-DOS
MSWordDOS6
Word version 2.x for Windows
MSWordWin2
Word version 6.x for Windows
MSWordWin6
Word 6.0 for Windows and Word 7.0 (Word 95) for Windows Export
MSWord6Exp
Word 8.0 for Windows (Word 97)
MSWord8
Works version 3.0 for Windows
MSWorksWin3
Works version 4.0 for Windows
MSWorksWin4
MS-DOS Text with Layout
MS-DOS Text With Layout
Text with Layout
Text with Layout

Word converts the following formats without the use of external converters.

Hypertext Markup Language (HTML)
HTML
Rich-text format
MSRTF
Text only
AnsiText
MS-DOS text (text only)
PCText
Text only with line breaks
AnsiTextCR
Unicode files
Unicode
Encoded plain text (Auto-detected)
EncodedText
MS-DOS text with line breaks
PCTextCR

Examples

This field inserts the portion of the file referred to by the Summary bookmark:

{ INCLUDETEXT "C:\\Winword\\Port Development RFP" Summary }