+ Reply to Thread
Results 1 to 4 of 4

Transfer all contents of multiple woorkbooks to one workbook.

  1. #1
    Registered User
    Join Date
    10-14-2012
    Location
    U.S.A.
    MS-Off Ver
    Excel 2007
    Posts
    8

    Lightbulb Transfer all contents of multiple woorkbooks to one workbook.

    Hii all,

    I have many workbooks in a folder with the same data structure where data exists in columns A-J.
    Is there a way to create a new workbook with all data containing in all workbooks in this folder?

    Actually I want to avoid opening every time 50 files and copy/paste contents manually...

    Thanks anyway
    Last edited by johnch; 10-31-2012 at 01:43 AM.

  2. #2
    Registered User
    Join Date
    10-14-2012
    Location
    U.S.A.
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Transfer all contents of multiple woorkbooks to one workbook.

    Also in every workbook exists only one sheet of data.

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

    Re: Transfer all contents of multiple woorkbooks to one workbook.

    Try this code
    Please Login or Register  to view this content.
    Change the bold areas to match your system.

    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 View | Macros
    Select a macro in the list, and click the Run button
    Last edited by arlu1201; 10-26-2012 at 01:15 PM.
    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]

  4. #4
    Registered User
    Join Date
    10-14-2012
    Location
    U.S.A.
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Transfer all contents of multiple woorkbooks to one workbook.

    Thank you Arlette so much for your accurate response
    Really help me a lot

    Have a really nice day

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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