_Application.DDEInitiate Method
Opens a DDE channel to an application.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function DDEInitiate ( _
App As String, _
Topic As String _
) As Integer
'Usage
Dim instance As _Application
Dim App As String
Dim Topic As String
Dim returnValue As Integer
returnValue = instance.DDEInitiate(App, _
Topic)
int DDEInitiate(
string App,
string Topic
)
Parameters
App
Type: System.StringRequired String. The application name.
Topic
Type: System.StringRequired String. Describes something in the application to which you're opening a channel — usually a document of that application.
Return Value
Type: System.Int32
Remarks
If successful, the DDEInitiate method returns the number of the open channel. All subsequent DDE functions use this number to specify the channel.