Vlookup

  • Thread starter Thread starter mtpsuresh
  • Start date Start date
M

mtpsuresh

Set Rng = lObjInterimWrkSht.Range("$L2:$O1000")
lStrResult = Application.VLookup("1001001", Rng, 4, False)
If Not VBA.IsError(lStrResult) Then
lDblExpensesThisMonthAmt
VBA.Val(lStrResult)
Else
lDblExpensesThisMonthAmt = 0
End If

It throws error when executing the vlookup function as "Typ
Mismatch".

I tried with Application.Worksheetfunction.VLookup and it throw
'Unable to get the VLookup property of the WorksheetFunction class'

Please anyone can help me out
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

VBA userform Vlookup Excel 1
Vlookup Error 0
UDF not working for VLookup 6
VLookUp Function 3
VLookup in VBA Help Needed 9
Add value to the content of a cell with Vlookup 2
Vlookup in VBA 4
v function 1

Back
Top