AutoCorrect.DeleteReplacement method (Excel)
Deletes an entry from the array of AutoCorrect replacements.
Syntax
expression.DeleteReplacement (What)
expression A variable that represents an AutoCorrect object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
What | Required | String | 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, this method fails. |
Return value
Variant
Example
This example removes the word Temperature from the array of AutoCorrect replacements.
With Application.AutoCorrect
.DeleteReplacement "Temperature"
End With
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor