Application.SpellingOptions Property (Excel)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .SpellingOptions

expression A variable that represents an Application object.

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." 
 MsgBox "The spelling options are set to check for mixed digits." 
 End If 
End Sub