NoProofing Property Example

This example searches for the string "hi" in text that the spelling and grammar checker ignores.

With Selection.Find
    .ClearFormatting
    .Text = "hi"
    .NoProofing = True
    .Execute Forward:=True
End With

This example marks the current selection to be ignored by the spelling and grammar checker.

Selection.NoProofing = True

This example sets the spelling and grammar checker to ignore any text in the active document formatted with the style "Test".

ActiveDocument.Styles("Test").NoProofing = True