+ Reply to Thread
Results 1 to 1 of 1

Extract Specific Data from Multiple Workbooks

  1. #1
    Registered User
    Join Date
    08-15-2013
    Location
    Shanghai, China
    MS-Off Ver
    Excel 2013
    Posts
    4

    Unhappy Extract Specific Data from Multiple Workbooks

    I may be in over my head..

    I've been learning a lot about VBA recently, but programming between multiple workbooks threw me for a Loop. Most of what is out there on this topic focuses on collecting entire workbooks or copying entire columns into a single workbook. I'm trying to extract only specific information from hundreds of different workbooks and concatenate into one spreadsheet.

    Basically I have hundreds of 'bills of material' spreadsheets and need to search through all of them to find part numbers that correspond to graphics and return the value of the kit number on which the graphic was used. I have attached a small sample of the bill of material template for reference. I have a list of part numbers that relate to graphics available and need the program to open each workbook and find whether any of the part numbers listed are also on the graphics part number list. IF SO, it should find which items the graphics were used on, i.e for every cell in that row from H to JS that is greater than Zero, return the values in that column for rows 4 and 5 (kit number and description) onto my 'Summary Sheet', which could basically be a blank workbook with the graphics part number database listed in column A. Example also attached for reference.

    I need the macro to go through every part number listed in every bill of materials file and compare it to the graphics database and return the proper values when a match is found. I'm not too worried about organizing the information in a pretty way, as that can come later. I just need to get it dumped into one place first (following some kind of logic)

    Sorry for the long-winded intro...

    Anyway, I have attempted to code this a couple of different ways without much success. Can someone please tell me what I'm doing wrong??

    Please Login or Register  to view this content.
    Thanks to hiker95 for the basis for this code, but I can't seem to get it to work for me..

    Can someone please tell me what I'm doing wrong??

    Thanks!!
    Attached Files Attached Files

+ 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. Macro to extract data from specific cells in different workbooks.
    By Abhi1477 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-17-2013, 04:21 PM
  2. Extract specific column data from specific sheet from multiple files in a folder
    By piggyfox in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-31-2013, 11:51 AM
  3. Extract data from cells in specific worksheets in multiple workbooks
    By bm97sph in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2013, 08:22 AM
  4. Replies: 3
    Last Post: 01-05-2013, 02:20 AM
  5. Macro to extract data from multiple workbooks, specific sheet, specific cells
    By crissandraauree in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-29-2012, 03:54 PM

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