Share via


IWorksheetFunction.HLookup Method

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

Syntax

'Declaration
Function HLookup ( _
    Arg1 As Object, _
    Arg2 As Object, _
    Arg3 As Object, _
    Arg4 As Object _
) As Object
'Usage
Dim instance As IWorksheetFunction
Dim Arg1 As Object
Dim Arg2 As Object
Dim Arg3 As Object
Dim Arg4 As Object
Dim returnValue As Object

returnValue = instance.HLookup(Arg1, Arg2, _
    Arg3, Arg4)
Object HLookup(
    Object Arg1,
    Object Arg2,
    Object Arg3,
    Object Arg4
)

Parameters

Return Value

Type: System.Object

See Also

Reference

IWorksheetFunction Interface

IWorksheetFunction Members

Microsoft.Office.Interop.Excel Namespace