Object Model Reference : Classes : A : Application : Properties : Application.Clipboard |
Property Clipboard As Clipboard
Member of Application
The Clipboard property returns the system Clipboard.
The Clipboard property returns a read-only value.
The following VBA example checks whether the Clipboard is empty. If data is present, it is pasted into the current document. If no data is present, a message displays in a message box.
Sub ClipboardData() |
If Not Clipboard.Empty Then |
ActiveLayer.Paste |
Else |
MsgBox "There is no data in the clipboard." |
End If |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.