Results 1 to 5 of 5

look up data within VBA

Threaded View

  1. #1
    Forum Contributor
    Join Date
    09-02-2013
    Location
    Netherlands
    MS-Off Ver
    Office 365 (2013)
    Posts
    268

    look up data within VBA

    Hello,

    I'm having a small problem here, or rather a question.
    I have 3 values (firstname, secondname, place) that I need lookup in a list of items.
    I want to return the row where all 3 the names are found in the list.
    Problem of course is that each value can appear more then once in the list, but the combination is always unique.

    Something like this would be nice:
    iRow = datasheet.Rows.Find(What:=(firstname And Secondname And Place), SearchOrder:=xlRows, SearchDirection:=xlPrevious, LookIn:=xlValues).Row
    But that doesn't work, so anyone with better ideas is more then welcome to share them
    Last edited by Evolta; 12-10-2013 at 06:49 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 34
    Last Post: 01-21-2014, 03:07 PM
  2. Replies: 4
    Last Post: 02-01-2013, 10:18 AM
  3. Replies: 2
    Last Post: 07-18-2012, 09:11 AM
  4. Searching data in 1 row, giving back data from column thats left to searched data
    By AmiGoCS in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-29-2012, 05:16 PM
  5. Use of Excel to pull data from database daily, posting new data below older data
    By Ishness in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-09-2011, 10:08 AM

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