Applies To
AutoCorrect Object.
Description
Deletes an entry from the array of AutoCorrect replacements. This method is available only in Microsoft Excel for Windows 95.
Syntax
object.DeleteReplacement(what)
object
Required. The AutoCorrect object.
what
Required. A string specifying the text to be replaced, as it appears in the row to be deleted from the array of AutoCorrect replacements. If this string doesn't exist in the array of AutoCorrect replacements, the method fails.
See Also
AddReplacement Method, ReplacementList Property.
Example
This example removes the word "Temperature" from the array of AutoCorrect replacements.
With Application.AutoCorrect .DeleteReplacement "Temperature" End With