+ Reply to Thread
Results 1 to 12 of 12

Consolidating Multiple Worksheets to one

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    69

    Consolidating Multiple Worksheets to one

    Hi,

    Hoping someone could help me with this - been trying to find some solutions online but can't seem to get them to work

    I'm looking for a code that would consolidate the information I have in my three sheets titled "Raw" into the Summary sheet. I will have other sheets in the workbook, but only want to consolidate those three. They will all have the same header.

    Could someone please help! Much appreciated!

    Thanks!

    Pho6
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Consolidating Multiple Worksheets to one

    Try the attached.
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor
    Join Date
    02-06-2014
    Location
    N/A
    MS-Off Ver
    N/A
    Posts
    373

    Re: Consolidating Multiple Worksheets to one

    Hello sir, try this out in a blank module

    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Consolidating Multiple Worksheets to one

    Poizhan,
    Good codling, but spoiled it with unnecessary selection

    Please Login or Register  to view this content.

  5. #5
    Valued Forum Contributor
    Join Date
    02-06-2014
    Location
    N/A
    MS-Off Ver
    N/A
    Posts
    373

    Re: Consolidating Multiple Worksheets to one

    Quote Originally Posted by AB33 View Post
    Poizhan,
    Good codling, but spoiled it with unnecessary selection
    I always use selection now with copy/paste from sheet to sheet, for some reason on my machines copy/paste will randomly throw 1004 errors.

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Consolidating Multiple Worksheets to one

    No, you rarely need to use "select". It does not server anything, except adding overhead to a code. The only place for selection is on recorded macro.

  7. #7
    Valued Forum Contributor
    Join Date
    02-06-2014
    Location
    N/A
    MS-Off Ver
    N/A
    Posts
    373

    Re: Consolidating Multiple Worksheets to one

    Quote Originally Posted by AB33 View Post
    No, you rarely need to use "select". It does not server anything, except adding overhead to a code. The only place for selection is on recorded macro.
    Roger that :D

  8. #8
    Registered User
    Join Date
    07-11-2012
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    69

    Re: Consolidating Multiple Worksheets to one

    Wow thanks everyone for all of your help!!

    Poizhan or Ab33 - how would I change the code if I wanted to be pasted starting a certain line in the Summary sheet? For example, in my actual summary, sheet the header actually starts on row 9 and not row 1.

    Thanks!!!

  9. #9
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Consolidating Multiple Worksheets to one

    Header row 9 and data starts in row 10
    Both codes attached.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    07-11-2012
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    69

    Re: Consolidating Multiple Worksheets to one

    Hey AB33 thanks for the code - it's not working for some reason though - can't get the data to paste on row10 on summary sheet. Any ideas?

  11. #11
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Consolidating Multiple Worksheets to one

    Change the single line from

    NR = 2

    to NR=10

  12. #12
    Registered User
    Join Date
    07-11-2012
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    69

    Re: Consolidating Multiple Worksheets to one

    Thanks so much for the code! Works now! :D Much appreciated!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Consolidating data from multiple worksheets into a summary sheet having multiple criteria
    By Marushka Pinto in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-16-2015, 11:11 PM
  2. [SOLVED] Consolidating data from multiple worksheets
    By ahng in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-22-2012, 05:53 PM
  3. consolidating multiple excel worksheets
    By nsen in forum Excel General
    Replies: 3
    Last Post: 05-12-2010, 01:33 PM
  4. Consolidating multiple worksheets into one
    By trafficb in forum Excel General
    Replies: 6
    Last Post: 10-31-2008, 11:54 AM
  5. Consolidating multiple worksheets
    By Prium in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-07-2008, 06:59 PM
  6. Consolidating data from multiple worksheets
    By pavemar in forum Excel General
    Replies: 2
    Last Post: 01-21-2008, 10:43 AM
  7. [SOLVED] Consolidating multiple worksheets
    By Laura T. in forum Excel General
    Replies: 1
    Last Post: 08-16-2005, 07:05 PM

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