Application.DDEExecute Method (Project)
Performs actions or runs commands in another application through dynamic data exchange (DDE).
Syntax
expression .DDEExecute(Command, TimeOut)
expression A variable that represents an Application object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Command |
Required |
String |
The command to carry out in another application. |
TimeOut |
Optional |
Variant |
The number of seconds to wait for the other application to execute before proceeding. The default value is 5. |
Return Value
Boolean
Remarks
If your macro displays a dialog box in another application, you may need to increase the default value for Timeout.