IRange.Replace Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Replace ( _
What As Object, _
Replacement As Object, _
LookAt As Object, _
SearchOrder As Object, _
MatchCase As Object, _
MatchByte As Object, _
SearchFormat As Object, _
ReplaceFormat As Object _
) As Boolean
'Usage
Dim instance As IRange
Dim What As Object
Dim Replacement As Object
Dim LookAt As Object
Dim SearchOrder As Object
Dim MatchCase As Object
Dim MatchByte As Object
Dim SearchFormat As Object
Dim ReplaceFormat As Object
Dim returnValue As Boolean
returnValue = instance.Replace(What, Replacement, _
LookAt, SearchOrder, MatchCase, MatchByte, _
SearchFormat, ReplaceFormat)
bool Replace(
Object What,
Object Replacement,
Object LookAt,
Object SearchOrder,
Object MatchCase,
Object MatchByte,
Object SearchFormat,
Object ReplaceFormat
)
Parameters
- What
Type: System.Object
- Replacement
Type: System.Object
- LookAt
Type: System.Object
- SearchOrder
Type: System.Object
- MatchCase
Type: System.Object
- MatchByte
Type: System.Object
- SearchFormat
Type: System.Object
- ReplaceFormat
Type: System.Object
Return Value
Type: System.Boolean