DisplayClipboardWindow Property [Excel 2003 VBA Language Reference]

Returns True if the Microsoft Office Clipboard can be displayed. Read/write Boolean.

expression.DisplayClipboardWindow

expression Required. An expression that returns one of the objects in the Applies To list.

Example

In this example, Microsoft Excel determines if the Office Clipboard can be displayed and notifies the user.

Sub SeeClipboard()

    ' Determine if Office Clipboard can be displayed.
    If Application.DisplayClipboardWindow = True Then
        MsgBox "Office Clipboard can be displayed."
    Else
        MsgBox "Office Clipboard cannot be displayed."
    End If

End Sub

Applies to | Application Object