Share via


IgnoreFileNames Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

False instructs Microsoft Excel to check for Internet and file addresses, True instructs Excel to ignore Internet and file addresses when using the spell checker. Read/write Boolean.

expression.IgnoreFileNames

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

In this example, Microsoft Excel determines what the setting is for checking spelling of Internet and file addresses and notifies the user.

  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