API Documentation > CorelDRAW > 2025-v26 > Clipboard > IVGClipboard
Clipboard.Valid property
Checks if the clipboard has valid content
Syntax:
Property Get Valid() As Boolean
Remarks:
The Valid property returns a True or False value associated with presence of valid data in the system Clipboard. Valid information is anything that can be cut or copied into the Clipboard, such as text and graphics selected within a document, or one or more files or folders.
Examples:
The following VBA example checks whether there is valid data in the Clipboard. If there is valid data present, it is pasted into the active layer. If there is no valid data in the Clipboard, a message displays in a message box.
Sub ClipboardValid()
If Clipboard.Valid Then
  ActiveLayer.Paste
Else
  MsgBox "There is no valid data currently in the Clipboard."
End If 
End Sub