Results 1 to 2 of 2
  1. #1
    Jaik is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Aug 2016
    Posts
    33

    vlookup macro in excel

    I want to make a macro based on vlookup formula from excel sheet.
    this formula is looking at k columns and go DataD sheet to get a value.
    =VLOOKUP(K6,'DataD'!D:G,4,0)





    I have something like this but it does not work...
    DataD.Range("D:G,4,0") = Vlookup()

    does anyone have idea on this?

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    This isn't an excel help forum, it's an access forum.

    Try here:
    https://support.office.com/en-us/art...8-93a18ad188a1

    Secondly, if you're using vlookup, make sure the data is sorted by the search column (a to z) or you will likely encounter errors in your search.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Excel problem (vlookup)
    By sdc1234 in forum Misc
    Replies: 3
    Last Post: 02-20-2015, 10:53 AM
  2. Pasting to Excel For VLOOKUP
    By JeffGeorge in forum Access
    Replies: 2
    Last Post: 03-27-2014, 10:54 AM
  3. Replies: 1
    Last Post: 02-21-2014, 04:23 AM
  4. Access and the concept VLOOKUP in Excel
    By Bob Blooms in forum Access
    Replies: 1
    Last Post: 08-27-2012, 12:28 PM
  5. Excel VLookup vs Access IIF statement
    By Huddle in forum Queries
    Replies: 9
    Last Post: 02-02-2012, 11:00 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums