AddReplacement Method

See Also         Example         Applies To

Adds an entry to the array of AutoCorrect replacements.

Syntax

expression.AddReplacement(What, Replacement)

expression   Required. An expression that returns an AutoCorrect object.

What   Required String. The text to be replaced. If this string already exists in the array of AutoCorrect replacements, the existing substitute text is replaced by the new text.

Replacement   Required String. The replacement text.