IWorksheetFunction.IfError Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function IfError ( _
Arg1 As Object, _
Arg2 As Object _
) As Object
'Usage
Dim instance As IWorksheetFunction
Dim Arg1 As Object
Dim Arg2 As Object
Dim returnValue As Object
returnValue = instance.IfError(Arg1, Arg2)
Object IfError(
Object Arg1,
Object Arg2
)
Parameters
- Arg1
Type: System.Object
- Arg2
Type: System.Object
Return Value
Type: System.Object