Clipboard.Clear (method)

Syntax Clipboard.Clear
Description This method clears the Clipboard by removing any content.
Example This example puts text on the Clipboard, displays it, clears the Clipboard, and displays the Clipboard again.
Const crlf = Chr$(13) + Chr$(10)
Sub Main()
  Clipboard$ "Hello out there!"
  MsgBox "The text in the Clipboard before clearing:" & crlf & Clipboard$
  Clipboard.Clear
  MsgBox "The text in the Clipboard after clearing:" & crlf & Clipboard$
End Sub