+ Reply to Thread
Results 1 to 6 of 6

pulling data from multiple workbooks

  1. #1
    Registered User
    Join Date
    10-05-2007
    Posts
    24

    pulling data from multiple workbooks

    Thank you in advance to taking a look at this.

    I have a series of workbooks with mutliple sheets in each. One of the sheets in these workbooks has a common name "Part Info". This is the sheet I need to pull data from, part numbers, prices, location, etc.. The info I need is in cells (D24, G6, D8, E15, F35, and so on) in the "Parts Info" sheet. I want to take the data that is being pulled from these sheets and place it in an existing workbook called "Parts List" and sheet named "summary sheet". The dat on the summary sheet will be all on the same row, column A through Z. This is the only part of code I have that works. I'll have to add a part at a time after the intail setup and need the info to be place under the last row of data.

    Please Login or Register  to view this content.
    Last edited by Leal72; 03-10-2008 at 06:34 PM.

  2. #2
    Registered User
    Join Date
    10-05-2007
    Posts
    24
    -----bump-----

    Is more info needed?

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello Leal72,

    Here is a macro that will copy the data from sheet named in the variable DataSheet to the summary sheet named in the variable SummarySheet.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

  4. #4
    Registered User
    Join Date
    10-05-2007
    Posts
    24
    Thank for your response, is it possible to select specific cells, rather than the full sheet (DataSheet)?

    I need for SummarySheet column A (next available row) to have the info from DataSheet cell D24

  5. #5
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello Leal72,

    Here is the revised macro. The only 2 variables you need to change in the macro are the DataSheet and DataRng. Change these to the worksheet name and cells you want to use. All the cells will be copied across row 1 starting with in column A on the SummarySheet and moves down a row for each workbook.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

  6. #6
    Registered User
    Join Date
    10-05-2007
    Posts
    24
    thank so much. That did the trick.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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