+ Reply to Thread
Results 1 to 7 of 7

copy multiple sheets data into one sheet

  1. #1
    Registered User
    Join Date
    10-16-2012
    Location
    Kolkata
    MS-Off Ver
    Excel 2003
    Posts
    5

    copy multiple sheets data into one sheet

    How to copy data from multiple sheets of one worksheet to a single sheet of another worksheet

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: copy multile sheets data into one sheet

    Do you mean you want to copy the data from multiple sheets of one workbook to a single sheet of another workbook?

    Will the destination and source files be open at the time of running the macro or should the macro open either of them?

    Where will the macro reside? In the destination file?

    Is the format of all the sheets the same - i mean do they have the same headers?

    Which is the last column containing data in the source file?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    10-16-2012
    Location
    Kolkata
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: copy multile sheets data into one sheet

    Re: copy multile sheets data into one sheet
    Do you mean you want to copy the data from multiple sheets of one workbook to a single sheet of another workbook? YES

    Will the destination and source files be open at the time of running the macro or should the macro open either of them? YES CAN BE OPEN

    Where will the macro reside? In the destination file? YES THE MACRO CAN RESIDE IN DESTINATION FILE

    Is the format of all the sheets the same - i mean do they have the same headers? YES

    Which is the last column containing data in the source file? LAST COLUMN IS "G", THE LAST ROW IS VARIABLE.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: copy multiple sheets data into one sheet

    Try this code
    Please Login or Register  to view this content.
    Copy the Excel VBA code
    Select the workbook in which you want to store the Excel VBA code
    Hold the Alt key, and press the F11 key, to open the Visual Basic Editor
    Choose Insert | Module
    Where the cursor is flashing, choose Edit | Paste

    To run the Excel VBA code:
    Choose Tools | Macro | Macros
    Select a macro in the list, and click the Run button

  5. #5
    Registered User
    Join Date
    10-01-2012
    Location
    scotland
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: copy multiple sheets data into one sheet

    Dear Arlette,
    Thanks. I recently came across the same problem and your macro is a great help for me. I have used it, it is excellent. By the way, can the macro be improved to handle the situation where I have multiple workbooks and multiple sheets in each workbook and I want to combine all together into one worksheet in one workbook?

    Thanks
    T.

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: copy multiple sheets data into one sheet

    Tianshu,

    In order not to confuse your question with the original one posted, why dont you open up a new thread and PM me the link. I can help you with it.

  7. #7
    Registered User
    Join Date
    10-01-2012
    Location
    scotland
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: copy multiple sheets data into one sheet

    Thanks. Arlette. I have opened a new thread as you suggested. I enclose the link here (http://www.excelforum.com/excel-prog...-workbook.html).
    T.

+ 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