Application.ResetIgnoreAll Method

Word Developer Reference

Clears the list of words that were previously ignored during a spelling check.

Syntax

expression.ResetIgnoreAll

expression   Required. A variable that represents an Application object.

Remarks

After you run this method, previously ignored words are checked along with all the other words. In order for the ResetIgnoreAll method to work, you must first set the SpellingChecked property to False.

Example

This example clears the list of words that were ignored during a previous spelling check and then begins a new spelling check on the active document.

Visual Basic for Applications
  Application.ResetIgnoreAll
ActiveDocument.SpellingChecked = False
ActiveDocument.CheckSpelling

See Also