+ Reply to Thread
Results 1 to 4 of 4

Consolidate multiple tabs into a "Summary" one and ovewrite past data

  1. #1
    Registered User
    Join Date
    07-09-2011
    Location
    Manheim
    MS-Off Ver
    Excel 2010
    Posts
    23

    Consolidate multiple tabs into a "Summary" one and ovewrite past data

    Hello,

    I have this piece of code:

    HTML Code: 
    but it consolidates (dooes not overwrite over the past data) until it reaches the A65526.

    Could someone help me please to modify this code and make it copy-paste from A4 in the Summary tab and finish pasting in the last row where the data from the Worksheets end? My desired consolidated data will be from A4 to T(Last Row Number).

    Thank you very much!

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Consolidate multiple tabs into a "Summary" one and ovewrite past data

    This teslls the code to copy to the next empty row
    Please Login or Register  to view this content.
    Your code needs to clear previous data. You don't use two of the variables that you have declared
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    07-09-2011
    Location
    Manheim
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Consolidate multiple tabs into a "Summary" one and ovewrite past data

    Thanks, I have inserted Dim LastRow As Long as I was trying to copy-down some formulas from X2 to all the consolidated data. How can I fix the above code to clear my previous data? Thanks a lot

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Consolidate multiple tabs into a "Summary" one and ovewrite past data

    This will clear the summary sheet
    Please Login or Register  to view this content.
    There's a lot more for you to consider. Do the sheets each have header rows? If they do then you need to remove the header row by resizing the copied data. I have posted examples how to do this

+ 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