+ Reply to Thread
Results 1 to 2 of 2

Vlookup in VBA for a beginner

  1. #1
    Registered User
    Join Date
    09-22-2006
    Posts
    4

    Vlookup in VBA for a beginner

    I want to apply this method to 5 cells in a single sheet (B2,B7,B12,B17,B22)

    When a two letter code (well somebody's initialls) is enter into any of these cells, I want to lookup the full name from a table in another sheet (called "Names" Range (A1:B200) replacing the two letter code with the full name.

    Any help would be much appreciatted.

  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    Assuming that you have something like JD in column 1 of your named range and John Doe in column 2 of your named range then this Vloohup will work, just paste it in and change the value B2 to suit
    Please Login or Register  to view this content.
    Regards,
    Simon

+ 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