False 指示 Microsoft Excel 檢查大寫單字; True 指示 Excel 在使用拼字檢查程式時忽略大寫的單字。 可讀寫的 Boolean。
語法
表達。忽略Caps
詞 代表 SpellingOptions 物件的變數。
範例
在此範例中,Excel 會判斷檢查大寫單字拼字的設定,並通知使用者。
Sub SpellingOptionsCheck()
If Application.SpellingOptions.IgnoreCaps = True Then
MsgBox "Spelling options for checking uppercase words is disabled."
Else
MsgBox "Spelling options for checking uppercase words is enabled."
End If
End Sub
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。