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
- Arg1
Type: System.String
- Arg2
Type: System.Double
- Arg3
Type: System.Double
- Arg4
Type: System.String
Return Value
Type: System.String