Partager via


IWorksheetFunction.Replace Method

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

Syntax

'Declaration
Function Replace ( _
    Arg1 As String, _
    Arg2 As Double, _
    Arg3 As Double, _
    Arg4 As String _
) As String
'Usage
Dim instance As IWorksheetFunction
Dim Arg1 As String
Dim Arg2 As Double
Dim Arg3 As Double
Dim Arg4 As String
Dim returnValue As String

returnValue = instance.Replace(Arg1, Arg2, _
    Arg3, Arg4)
string Replace(
    string Arg1,
    double Arg2,
    double Arg3,
    string Arg4
)

Parameters

Return Value

Type: System.String

See Also

Reference

IWorksheetFunction Interface

IWorksheetFunction Members

Microsoft.Office.Interop.Excel Namespace