This documentation is archived and is not being maintained.

Application.AutoCorrect Property (Excel)

Returns an AutoCorrect object that represents the Microsoft Excel AutoCorrect attributes. Read-only.

expression .AutoCorrect

expression A variable that represents an Application object.

This example substitutes the word "Temp." for the word "Temperature" in the array of AutoCorrect replacements.

With Application.AutoCorrect 
 .AddReplacement "Temperature", "Temp." 
End With