Collapse the table of content
Expand the table of content
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Range.SpellingChecked Property (Word)

Office 2010

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.

expression .SpellingChecked

expression A variable that represents a Range object.

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.

This example determines whether spelling in section one of the active document has been checked. If spelling has not been checked, the example starts a spelling check.

Set myRange = ActiveDocument.Sections(1).Range 
isChecked = myRange.SpellingChecked 
If isChecked = False Then 
 MsgBox "Spelling has already been checked in the range." 
End If
© 2015 Microsoft