IgnoreFileNames Property

Microsoft Excel Visual Basic

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