Access/VBA Library

EmptyClipboard

Empties the Clipboard and frees handles to data in the Clipboard. The function then assigns ownership of the Clipboard to the window that currently has the Clipboard open.

See also: https://msdn.microsoft.com/en-us/library/windows/desktop/ms649037(v=vs.85).aspx

Syntax

EmptyClipboard()
Return value

Long : Zero if the function failes. Nonzero otherwise.

Code
Declare Function EmptyClipboard Lib "user32" () As Long

See also

  • CopyStringToClipboard