+ Reply to Thread
Results 1 to 5 of 5

Import Data from Another Workbook in Same Folder with Multiple Lookup Criteria

  1. #1
    Registered User
    Join Date
    11-04-2014
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    14

    Import Data from Another Workbook in Same Folder with Multiple Lookup Criteria

    I am trying to import data from a separate (database) workbook that is located in the same folder as the working (user) workbook without having the user having to open the database. The user workbook has two criteria that I would like to use in grabbing data from the database workbook. The first criteria is the worksheet name in the database workbook. The second criteria is the set of data desired for import. I have attached an example of both the workbooks. Let me know if additional info is needed. Thanks in advance for the help.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Import Data from Another Workbook in Same Folder with Multiple Lookup Criteria

    First save file in same folder


    Please Login or Register  to view this content.
    Kind regards
    Leo
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,279

    Re: Import Data from Another Workbook in Same Folder with Multiple Lookup Criteria

    Great job leotaxi

  4. #4
    Registered User
    Join Date
    11-04-2014
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    14

    Re: Import Data from Another Workbook in Same Folder with Multiple Lookup Criteria

    Looks good LeoTaxi! What if I had an extra column at the end in the database but didn't want to include it in the import?

  5. #5
    Registered User
    Join Date
    11-04-2014
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    14

    Re: Import Data from Another Workbook in Same Folder with Multiple Lookup Criteria

    Think that I answered my own question.
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. VBA to import multiple xml data into same workbook sheet
    By capnhud in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-25-2013, 12:52 PM
  2. How to import data from one workbook to another if several criteria match?
    By iamneeanne in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 12-27-2011, 12:02 AM
  3. Lookup and pull data from all workbooks of a folder; transfer to a target workbook
    By Silver.blue in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-03-2011, 03:36 PM
  4. Extracting data from multiple workbook in folder into main workbook
    By Julesdude in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-14-2010, 11:25 AM
  5. Collecting Data from multiple sheets of a workbook and import them into new workbook
    By tufanayd in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-16-2009, 04:10 PM
  6. Replies: 1
    Last Post: 01-24-2006, 11:35 AM
  7. Replies: 1
    Last Post: 01-24-2006, 11:00 AM
  8. Replies: 1
    Last Post: 01-24-2006, 12:25 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