+ Reply to Thread
Results 1 to 9 of 9

Consolidate Data from one tab to another

  1. #1
    Forum Contributor
    Join Date
    11-20-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007, Excel 2003, Excel 2010
    Posts
    284

    Consolidate Data from one tab to another

    How could I edit the following code to take all non-blank cells from A2:E2 onwards and paste them in the OVERTIME_Condolidated tab from A2:E2 onwards. also i am trying to get it to keep pasting under the last entry every time the code is run again.
    Thanks for the help


    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    06-07-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    189

    Re: Consolidate Data from one tab to another

    Try

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    06-07-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    189

    Re: Consolidate Data from one tab to another

    Better

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    11-20-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007, Excel 2003, Excel 2010
    Posts
    284

    Re: Consolidate Data from one tab to another

    Thanks that worked, but instead of specifying the range ("A2:E7") is there a way to say copy anything within A2:E2 onwards...A1 to E1 has the headings.. but a to e has the data and the data will always have a different range. Thanks for the help

  5. #5
    Forum Contributor
    Join Date
    06-07-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    189

    Re: Consolidate Data from one tab to another


  6. #6
    Forum Contributor
    Join Date
    11-20-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007, Excel 2003, Excel 2010
    Posts
    284

    Re: Consolidate Data from one tab to another

    Thanks Thalassa! That workerd perfectly. How would I create code to clear consolidate data?For eg, I want to clear all non blank cells from A2 to E2 onwards? Thanks

  7. #7
    Forum Contributor
    Join Date
    06-07-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    189

    Re: Consolidate Data from one tab to another

    Untested but try

    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    11-20-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007, Excel 2003, Excel 2010
    Posts
    284

    Re: Consolidate Data from one tab to another

    This works if I click it once. But if the user clicks it twice by mistake then it deletes the headers as well and moved the button also. Any way to fix this . thanks


    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    06-07-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    189

    Re: Consolidate Data from one tab to another

    Try

    Please Login or Register  to view this content.

+ 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