Share via


Application.AutoCorrect Property

Excel Developer Reference

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.

Visual Basic for Applications
  With Application.AutoCorrect
    .AddReplacement "Temperature", "Temp."
End With

See Also