SpellingChecked Property Example
This example determines whether spelling in section one of the active document has been checked. If spelling hasn't been checked, the example starts a spelling check.
Set myRange = ActiveDocument.Sections(1).Range
isChecked = myRange.SpellingChecked
If isChecked = False Then
myRange.CheckSpelling
Else
MsgBox "The range has already been spell checked."
End If
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