OtherCorrectionsExceptions.Add Method

Word Developer Reference

Returns an OtherCorrectionsException object that represents a new exception added to the list of AutoCorrect exceptions.

Syntax

expression.Add(Name)

expression   Required. A variable that represents an OtherCorrectionsExceptions collection.

Parameters

Name Required/Optional Data Type Description
Name Required String The word that you want Word to overlook.

Return Value
OtherCorrectionsException

Remarks

If the OtherCorrectionsAutoAdd property is True, words are automatically added to the list of other corrections exceptions.

Example

This example adds myCompany to the list of other corrections exceptions.

Visual Basic for Applications
  AutoCorrect.OtherCorrectionsExceptions.Add Name:="myCompany"

See Also