Partager via


Document.SpellingChecked Property (Word)

True if spelling has been checked throughout the specified range or document. False if all or some of the range or document has not been checked for spelling. Read/write Boolean.

Syntax

expression .SpellingChecked

expression A variable that represents a Document object.

Remarks

To recheck the spelling in a range or document, set the SpellingChecked property to False.

To see whether the range or document contains spelling errors, use the SpellingErrors property.

Example

This example sets the SpellingChecked property to False for MyDocument.doc, and then it runs another spelling check on the document.

Documents("MyDocument.doc").SpellingChecked = False 
Documents("MyDocument.doc").CheckSpelling IgnoreUppercase:=False

See Also

Concepts

Document Object

Document Object Members