+ Reply to Thread
Results 1 to 6 of 6

VLookup in VB?

Hybrid View

  1. #1
    Bob Phillips
    Guest

    Re: VLookup in VB?

    Sure is

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

    --

    HTH

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


    "UofMoo" <UofMoo.1u4oqb_1124651117.4341@excelforum-nospam.com> wrote in
    message news:UofMoo.1u4oqb_1124651117.4341@excelforum-nospam.com...
    >
    > 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
    >




  2. #2
    WhytheQ
    Guest

    Re: VLookup in VB?

    or worksheetfunction.vlookup(val,rng,2,False)


    Bob Phillips wrote:
    > Sure is
    >
    > ans = Application.VLOOKUP(val,rng,2,False)
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "UofMoo" <UofMoo.1u4oqb_1124651117.4341@excelforum-nospam.com> wrote in
    > message news:UofMoo.1u4oqb_1124651117.4341@excelforum-nospam.com...
    > >
    > > 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
    > >



+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1