Compartilhar via


AutoCorrect.DeleteReplacement Method

Deletes an entry from the array of AutoCorrect replacements.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function DeleteReplacement ( _
    What As String _
) As Object
'Usage
Dim instance As AutoCorrect
Dim What As String
Dim returnValue As Object

returnValue = instance.DeleteReplacement(What)
Object DeleteReplacement(
    string What
)

Parameters

  • What
    Type: System.String

    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

Type: System.Object

See Also

Reference

AutoCorrect Interface

AutoCorrect Members

Microsoft.Office.Interop.Excel Namespace