Vlookup function

T

teresa

Hi All,

Am using the below to do a vlookup

Sub fact()

Range("b50").Select
Range("b50").Value = WorksheetFunction.VLookup("a50", "c39:d40", 2, [false])

End Sub

Am receiving:
Application-defined or object-defined area
 
M

Michelle

teresa:
This looks like it pertains to Excel. You might have better luck posting to
the Excel newsgroup. Apologies if I'm mistaken.
 

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

Top