Previous Document Next Document

Object Model Reference : Classes : A : Application : Properties : Application.Clipboard


Application.Clipboard

Property Clipboard As Clipboard

Description

Member of Application

The Clipboard property returns the system Clipboard.

The Clipboard property returns a read-only value.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.