Thread: VLookup in VB?
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default VLookup in VB?

Sure is

ans = Application.VLOOKUP(val,rng,2,False)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"UofMoo" wrote in
message ...

Is there a way to access functions in a sub ?
i'd like to use vlookup in one of my VB modules...
thanks in advance


--
UofMoo
------------------------------------------------------------------------
UofMoo's Profile:

http://www.excelforum.com/member.php...o&userid=26485
View this thread: http://www.excelforum.com/showthread...hreadid=397602