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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.