DDERequest, DDERequest$ (functions)
Syntax | DDERequest [$](channel,DataItem$) | |
Description | Returns the value of the given data item in the receiving application associated with the open DDE channel. | |
Comments | DDERequest$ returns a String , whereas DDERequest returns a String variant. The DDERequest/DDERequest$ functions take the following parameters: | |
Parameter | Description | |
channel |
Integer containing the DDE channel number returned from DDEInitiate . An error will result if channel is invalid.
|
|
DataItem$ | String containing the name of the data item to request. The format for this parameter depends on the server. | |
The format for the returned value depends on the server. | ||
Example |
This example sets and retrieves a cell in an Excel spreadsheet.
|
|
See Also | DDEExecute (statement); DDEInitiate (function); DDEPoke (statement); DDESend (function); DDETerminate (statement); DDETerminateAll (statement); DDETimeout (statement). |