IAutoCorrect.AddReplacement Method

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

Syntax

'Declaration
Function AddReplacement ( _
    What As String, _
    Replacement As String _
) As Object
'Usage
Dim instance As IAutoCorrect
Dim What As String
Dim Replacement As String
Dim returnValue As Object

returnValue = instance.AddReplacement(What, _
    Replacement)
Object AddReplacement(
    string What,
    string Replacement
)

Parameters

Return Value

Type: System.Object

See Also

Reference

IAutoCorrect Interface

IAutoCorrect Members

Microsoft.Office.Interop.Excel Namespace