AddReplacement Method

Adds an entry to the array of AutoCorrect replacements.

expression.AddReplacement(What, Replacement)

Example

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

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

See Also