Share via


SpellingOptions 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.

Returns a SpellingOptions object that represents the spelling options of the application.

expression.SpellingOptions

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

Example

In this example, Microsoft Excel checks the setting on the spelling options for ignoring mixed digits, and notifies the user of its status.

  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