Share via


Excel) (Application.SpellingOptions 屬性

會傳回 SpellingOptions 物件,代表應用程式的拼字選項。

語法

運算式SpellingOptions

expression 代表 Application 物件的變數。

範例

在本範例中,Microsoft Excel 會檢查忽略混合數字的拼字檢查選項設定,然後通知使用者此設定的狀態。

Sub MixedDigitCheck() 
 
 ' Determine the setting on spell checking for mixed digits. 
 If Application.SpellingOptions.IgnoreMixedDigits = True Then 
 MsgBox "The spelling options are set to ignore mixed digits." 
 Else 
 MsgBox "The spelling options are set to check for mixed digits." 
 End If 
 
End Sub

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應