Application.AutoCorrect property (Excel)

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

Syntax

expression.AutoCorrect

expression A variable that represents an Application object.

Example

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

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.