DDEInitiate Method

Applies To

Application object.

Description

Opens a DDE channel to an application.

Syntax

expression.DDEInitiate(App, Topic)

expression Optional. An expression that returns an Application object.

App Required String. The application name.

Topic Required String. Describes something in the application to which you're opening a channel — usually a document of that application.

Remarks

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

Example

See the DDEExecute method example.