AutoCorrect Property

Microsoft Excel Visual Basic

AutoCorrect Property

       

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

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