次の方法で共有


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

Concepts

Options Object

Options Object Members