Application.DisplayClipboardWindow property (Excel)

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

Syntax

expression.DisplayClipboardWindow

expression A variable that represents an Application object.

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.