DDEInitiate Method

See Also         Example         Applies To

Opens a dynamic data exchange (DDE) channel to another application, and returns the channel number.

Syntax

expression.DDEInitiate(App, Topic)

expression   Optional. An expression that returns an Application object.

App   Required String. The name of the application.

Topic   Required String. The name of a DDE topic — for example, the name of an open document — recognized by the application to which you're opening a channel.

Remarks

If it's successful, the DDEInitiate method returns the number of the open channel. All subsequent DDE functions use this number to specify the channel.