Options.CheckSpellingAsYouType property (Word)
True if Microsoft Word checks spelling and marks errors automatically as you type. Read/write Boolean.
Syntax
expression. CheckSpellingAsYouType
expression A variable that represents a 'Options' object.
Remarks
This property marks spelling errors, but to see them on the screen, you must set the ShowSpellingErrors property to True.
Example
This example turns off automatic checking of spelling in Word.
Options.CheckSpellingAsYouType = False
This example sets Word to check for spelling errors as you type and to display any errors found in the active document.
Options.CheckSpellingAsYouType = True
ActiveDocument.ShowSpellingErrors = True
This example returns the status of the Check spelling as you type option on the Spelling & Grammar tab in the Options dialog box (Tools menu).
Dim blnCheck As Boolean
blnCheck = Options.CheckSpellingAsYouType
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.