Consulting

Results 1 to 4 of 4

Thread: Vlookup in vba

  1. #1
    VBAX Contributor
    Joined
    Jun 2008
    Posts
    169
    Location

    Vlookup in vba

    Hi

    I wanted help to Vlookup in Vba
    Situation is there

    Sheet1” COL, A2 to A which is a customer named COL B2 to B is the TEL and COL C is contact person.( data is too much about 6500 or above and that’s are past years ago old)

    Sheet2” Col A is the current own customers, how do I made VBA to Vlookup base the customer to match (since might typing mode are diffidence) then sheet2 COL B” = Tel, COL C” = the contact persons ?

    I want to use Vlookup in a vba module, but i can't figure it out how to do this...

    Please help

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Please post a small sample with some data.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  3. #3
    VBAX Contributor
    Joined
    Jun 2008
    Posts
    169
    Location
    Dear mdmackillop

    Thanks you help.

    attached is samples,
    Sheet1 is a old data
    sheet2 is exsisting cust ..

  4. #4
    Administrator
    VP-Knowledge Base VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    I don't see how this could be coded to give reliable results. Here is a userform which will allow names etc. to be selected and put against the new names which might be of use in a one-off exercise
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

Posting Permissions

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