+ Reply to Thread
Results 1 to 9 of 9

How to copy data from different excel workbooks into a sheet

  1. #1
    Registered User
    Join Date
    12-03-2012
    Location
    Auckland
    MS-Off Ver
    Excel 2003
    Posts
    5

    Unhappy How to copy data from different excel workbooks into a sheet

    Hi, Am new to this forum and need a little help.

    I am trying to make a master database from approx 700 excel workbooks with 2 sheets in them. I want to copy some rows and column from the first sheet of each of the workbook into a new workbook. I want the data to be copied one below the other.

    I read through come of the threads but was not able to get it done.

    I am using excel 2007 to do this. Your help would sail me through this situation.

    Thanks Rohit.

  2. #2
    Registered User
    Join Date
    10-28-2012
    Location
    Notre Dame, IN
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: How to copy data from different excel workbooks into a sheet

    Just some clarification: is it only one column you are copying, with several rows, one from each workbook?
    And you want to compile it all into one workbook: into one very long column, into several columns, into several Worksheets?

  3. #3
    Registered User
    Join Date
    12-03-2012
    Location
    Auckland
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: How to copy data from different excel workbooks into a sheet

    Hi,

    Sorry about the confusion. I have made an example excel of the workbook I want to copy from and how i want the data to be compiled onto a new workbook. Attached is the same and I hope it helps. ThanksExample workbook.xlsx

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: How to copy data from different excel workbooks into a sheet

    If all your first sheets are set up the same, then maybe:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    12-03-2012
    Location
    Auckland
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: How to copy data from different excel workbooks into a sheet

    Sorry about being a pain but where do i add this code...????

  6. #6
    Registered User
    Join Date
    12-03-2012
    Location
    Auckland
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: How to copy data from different excel workbooks into a sheet

    Sorry about being a pain but where do i add this code...????

  7. #7
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: How to copy data from different excel workbooks into a sheet

    Sorry for the late response. For 2003 Tools>Macro>Visual Basic Editor>Lefthand side choose the project>Insert Module (this will be a standard Module) and paste it there.

  8. #8
    Registered User
    Join Date
    12-03-2012
    Location
    Auckland
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: How to copy data from different excel workbooks into a sheet

    Hi, Sorry about the delayed response...thanks for the help...i tried this code but it gives me a run-time error "subscript out of range" ..?? I hope we are on the same page as i want to copy data from approx 700 excel files onto one master file...!!

  9. #9
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: How to copy data from different excel workbooks into a sheet

    You would have to open and activate each workbook and then run the code.

+ 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