Share via


AutoCorrect Object (Excel)

Contains Microsoft Excel AutoCorrect attributes (capitalization of names of days, correction of two initial capital letters, automatic correction list, and so on).

Example

Use the AutoCorrect property to return the AutoCorrect object. The following example sets Microsoft Excel to correct words that begin with two initial capital letters.

With Application.AutoCorrect 
 .TwoInitialCapitals = True 
 .ReplaceText = True 
End With

See Also

Concepts

AutoCorrect Object Members

Excel Object Model Reference