This function clears the clipboard content.
object.Clear
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISClipboard interface |
Display the clipboard content before and after the clearing.
Dim aClipboard
Dim aMessage
Set aClipboard = Profile.GetClipboard
aClipboard.SetText("Simple text for example")
aMessage = "The clipboard before the clearing: " & vbNewLine & aClipboard.GetText
aClipboard.Clear
aMessage = aMessage & vbNewLine &_
"The clipboard after the clearing: " & vbNewLine & aClipboard.GetText
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface the clipboard content can be found in
.