如果可以顯示 Microsoft Office 剪貼簿,則會傳回 True。 可讀寫的 Boolean。
語法
表達。顯示剪貼板視窗
expression 代表 Application 物件的變數。
範例
在此範例中,Microsoft Excel 會判斷是否可以顯示 Office 剪貼簿,並通知使用者。
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
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。