+ Reply to Thread
Results 1 to 8 of 8

Combine data from multiple worksheets into a new worksheet

  1. #1
    Registered User
    Join Date
    10-29-2012
    Location
    Holland, Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    4

    Combine data from multiple worksheets into a new worksheet

    How can I combine the entries for 6 different worksheets?

    GEO101
    CBD100
    EPY102
    CCM118
    ACP171
    DNB111

    into a dumpfile worksheet so I can do a pivot table. Each worksheet has the same row heading anyway.

    EID Employee Name Object ID XMID Position Team Leader OM Course

    I wanted to figure out a macro for that or if i copy pasted it 2 hours ago then it's finished BUT creating a macro for this is WAAAAY cooler. HELP PLEASE?


    (this post removed from this thread)
    Last edited by JBeaucaire; 10-29-2012 at 07:56 PM. Reason: Created a separate thread. Please do not hijack other's threads, follow the forum rules.

  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: Combine data from multiple worksheets into a new worksheet

    You have a summary file in your attachment. Do you want the data to be consolidated in that format?

    Or you are just looking to have the data one below the other?
    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-29-2012
    Location
    Holland, Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Combine data from multiple worksheets into a new worksheet

    Just one after the other. The summary table just counts how many names appear every instance but for my pivot I want the hierarchy of names to appear that's why I need a dump file. Thanks!

  4. #4
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Combine data from multiple worksheets into a new worksheet

    Give this a try

    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  5. #5
    Registered User
    Join Date
    10-29-2012
    Location
    Holland, Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Combine data from multiple worksheets into a new worksheet

    IT'S SO COOL IT WORKS REALLY WELL. Just a few questions though. How do I modify the code if another worksheet is added and what if it's the other way around (removed for compilation?). Another is what do i change in the code if the worksheet was modified with additional columns or we lessen the columns?


    Thank you very much for assisting me this well.

  6. #6
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Combine data from multiple worksheets into a new worksheet

    To add or remove sheets.

    Please Login or Register  to view this content.

    To adjust range

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    10-29-2012
    Location
    Holland, Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Combine data from multiple worksheets into a new worksheet

    I've played around with it and it does the trick. I don't know if I'm asking too much but is it possible for the compiled data to be dynamic if ever the data that's in the different worksheets gets changed? Can it do an auto-update? Thank you for the millionth time.

  8. #8
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Combine data from multiple worksheets into a new worksheet

    Hi,

    I make small code for ur requirement plz have checked the attached sheet and let me know is it meet ur requirement or not.

    Thanks - Naveed.

+ 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