Syntax
DDETerminateAll
Remarks
Closes all dynamic-data exchange (DDE) channels opened by Word; DDETerminateAll does not close channels opened to Word by client applications. Using this statement is the same as using a DDETerminate statement for each open channel. DDETerminateAll does not cause an error if no DDE channels are open.
If you interrupt a macro that opens a DDE channel, you may inadvertently leave
a channel open. Open channels are not closed automatically when a macro ends, and each open channel uses system resources. For this reason, it's a good idea to use DDETerminateAll while debugging a macro that opens one or more DDE channels.
See Also
DDEExecute, DDEInitiate(), DDEPoke, DDERequest$(), DDETerminate