{ LINK ClassName "FileName" [PlaceReference ] [Switches ] }
Links information you copied from another application to the original source file using OLE. Microsoft Word inserts this field when you copy information from another application and use the Paste Special command (Edit menu) to paste it into a Word document.
Instructions
The application type of the linked information. For example, for a Microsoft Excel chart, ClassName is "ExcelChart." Word determines this information from the source application.
"C:\\MSOffice\\Excel\\Rfp\\Budget.xls"
Identifies the portion of the source file that's being linked. If the source file is a Microsoft Excel workbook, the reference can be a cell reference or a named range. If the source file is a Word document, the reference is a bookmark.
Switches
Updates the LINK field automatically; delete this switch to use manual updating.
Inserts the linked object as a bitmap.
Graphic data isn't stored with the document, thus reducing the file size.
Inserts the linked object as HTML format text.
Inserts the linked object as a picture.
Inserts the linked object in rich-text format (RTF).
Inserts the linked object in text-only format.
Examples
The following example inserts a range of cells from a Microsoft Excel worksheet. The \a switch ensures that the information is updated in Word whenever the worksheet is changed in Microsoft Excel:
{ LINK Excel.Sheet.8 "C:\\My Documents\\Profits.xls" "Sheet1!R1C1:R4C4" \a \p }