3.1.3.2.2 DDEAUTO
Syntax:
DDEAUTO field-argument-1 field-argument-2 [ field-argument-3 ] [ switches ]
field-argument-1:
field-argument
field-argument-2:
field-argument
field-argument-3:
field-argument
Description: For information copied from another
application, this field links that information to its original source file
using DDE and is updated automatically. The application name shall be specified
in field-argument-1; this application must be running. The name and location of
the source file is specified by field-argument-2. The portion of the source
file that is being linked is specified by field-argument-3. [Note: This field
is supported for legacy reasons, and it is recommended that LINK
("[ISO/IEC-29500-1]
§17.16.5.32; LINK") be used instead. end note] [Example: If the source
file is a SpreadsheetML document, the reference might be to a cell reference or
a named range. For a WordprocessingML document, it might be a bookmark. end
example]
Field Value: The DDE object representation of the linked file or the contents of the file itself, depending on the switches used.
Switches: Zero or more of the following field-specific-switches.
Field specific switches |
|
---|---|
|
Requests the linked object as a bitmap. This switch shall not be used in conjunction with any field-specific switches. |
|
Specifies that the graphic data shall not be stored with the document, thus reducing the file size. This switch shall not be used in conjunction with any field-specific switches. Word does not support this switch. |
|
Requests the linked object as HTML-formatted text. This switch shall not be used in conjunction with any field-specific switches. |
|
Requests the linked object as a picture. This switch shall not be used in conjunction with any field-specific switches. |
|
Requests the linked object in rich-text format (RTF). This switch shall not be used in conjunction with any field-specific switches. |
|
Requests the linked object in text-only format. This switch shall not be used in conjunction with any field-specific switches. |
|
Requests the linked object as Unicode text. This switch shall not be used in conjunction with any field-specific switches. Word does not support this switch. |
[Example: The following example inserts a range of cells from a SpreadsheetML worksheet.
-
{ DDEAUTO excel "C:\\My Documents\\Profits.xls" "Sheet1!R1C1:R4C4" \p }
end example]