DisplayClipboardWindow Property

Microsoft Excel Visual Basic

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