CheckSpellingAsYouType Property

Microsoft Word Visual Basic

True if Word checks spelling and marks errors automatically as you type. Read/write Boolean.

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 spell checking 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