External Interfaces/API Reference | ![]() ![]() |
Send execution string to DDE server application
Syntax
rc = ddeexec(channel, command, item, timeout)
Arguments
rc
The return code: 0 indicates the function call failed, 1 indicates it succeeded.
channel
ddeinit
.
command
item
timeout
timeout
is specified in milliseconds (1000 milliseconds = 1 second). The default value of timeout is three seconds.
Description
ddeexec
sends a string for execution to another application via an established DDE conversation. Specify the string as the command argument.
Example
% Given the channel assigned to a conversation, % send a command to Excel. rc = ddeexec(channel, '[formula.goto("r1c1")]');
![]() | ddeadv | ddeinit | ![]() |