DdePoke
Uses an open dynamic-data exchange (DDE) channel to send data to an application.
Syntax
DdePoke "appName", "topic", "item", "value"
Argument | Description |
---|---|
appName | The name of the DDE application receiving the command. The application must be running. |
topic | The name of the topic receiving the command. |
item | An item within the specified DDE topic. |
value | A string containing the data to send to the specified item. |
Example
This example sends the string "Total: $1,216" to the second row and third column of the Expenses worksheet in Microsoft Excel.
DDEPoke "Excel", "Expenses", "R2C3", "Total: $1,216"