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