Share via


TwoInitialCapsExceptions.Add Method (Word)

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

Syntax

expression .Add(Name)

expression Required. A variable that represents a TwoInitialCapsExceptions collection.

Parameters

Name

Required/Optional

Data Type

Description

Name

Required

String

The word with two initial capital letters that you want Microsoft Word to overlook.

Return Value

TwoInitialCapsException

Remarks

If the TwoInitialCapsAutoAdd property is True, words are automatically added to the list of initial-capital exceptions.

Example

This example adds the abbreviation addr. to the list of first-letter exceptions.

AutoCorrect.FirstLetterExceptions.Add Name:="addr."

This example adds MSOffice to the list of initial-capital exceptions.

AutoCorrect.TwoInitialCapsExceptions.Add Name:="MSOffice"

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

AutoCorrect.OtherCorrectionsExceptions.Add Name:="myCompany"

See Also

Concepts

TwoInitialCapsExceptions Collection Object

TwoInitialCapsExceptions Object Members