Previous Document Next Document
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 code example checks to see if 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.