|
|
|
|
|
DDEUnLink (Function) In french: DDEFinLien Interrupts a link between an item and a data. Note Breaking a "warm" or "hot" link with a data item means that the program will no longer be notified by the server (connected program) when the linked data item is modified (cell "L1C1" of sheet "Sheet1" in the example below). MaConnexion = DDEConnect("Excel", "Feuille1")
DDELink(MaConnexion, "L1C1", 1)
DDEUnLink(MaConnexion, "L1C1", 1)
Syntax
<Result> = DDEUnLink(<Connection ID> , <Connection object> [, <Timeout>])
<Result>: Boolean - True if the link was interrupted,
- False if an error occurred (DDEError returns the details of the error).
<Connection ID>: Integer Connection identifier, returned by DDEConnect. <Connection object>: Character string Object of connection to handle. <Timeout>: Optional integer or optional Duration Maximum wait duration (in seconds). If the command was not run:- If <Timeout> is specified, there is a delay of <Timeout> seconds before exiting DDEUnLink.
- If <Timeout> is not specified, there is an endless wait.
Note: This parameter can correspond to: - an integer corresponding to the number of seconds,
- a Duration variable,
- duration in plain text (e.g. '1s').
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|