DDETerminate Method Example

This example creates a new workbook in Microsoft Excel and then terminates the DDE conversation.

chan = DDEInitiate(App:="Excel", Topic:="System")
DDEExecute Channel:=chan, Command:="[New(1)]"
DDETerminate Channel:=chan