TERMINATE macro

Closes a dynamic data exchange (DDE) channel previously opened with the INITIATE function. Use TERMINATE to close a channel after you have finished communicating with another application.

Syntax

TERMINATE(channel_num)

Important   Microsoft Excel for the Macintosh requires system software version 7.0 or later for this function.

Channel_num    is the number returned by a previously run INITIATE function. Channel_num identifies a DDE channel to close.

If TERMINATE is not successful, it returns the #VALUE! error value.

Related Functions

EXEC   Starts another application

INITIATE   Opens a channel to another application

Return to index