+ Reply to Thread
Results 1 to 6 of 6

Archive data from one sheet to last row of another sheet

  1. #1
    Registered User
    Join Date
    02-18-2004
    Posts
    55

    Archive data from one sheet to last row of another sheet

    I'm looking for some assistance on how to grab data from one sheet and move it to the last written row of another sheet.

    For instance. I would like to take worksheet1 cells A5:A100 and import them into the last written row of Worksheet 2 Column C, and then the same thing for worksheet1 cells d5:d100, but import them into column A. I was able to figure out how to identify the last written row of the sheet, but can't figure out how to copy multiple cells into a specific row. If anyone has any ideas I'm all ears, below is an example of the code I've been messing witht, but can't seem to make it work. Thanks in advance for all help.

    Please Login or Register  to view this content.
    Last edited by pjw23; 09-17-2011 at 12:00 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    06-19-2010
    Location
    Holywell, N Wales, UK
    MS-Off Ver
    Excel 2013
    Posts
    470

    Re: Archive data from one sheet to last row of another sheet

    Hi pjw23
    One way to get you going
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-18-2004
    Posts
    55

    Re: Archive data from one sheet to last row of another sheet

    BarryLeaJo,
    Thanks for the reply. It does the copy to the other sheet, however, for some reason when putting the data into "sheet 2" instead of writing to the last written row, it uses the last written row count of "sheet 1" For instance, I have 68 rows in sheet 1, when I run the macro using the code, it writes sheet 2 starting at line 69 even though the last written line is row 9. Any ideas how to fix it? Thanks.

  4. #4
    Valued Forum Contributor
    Join Date
    06-19-2010
    Location
    Holywell, N Wales, UK
    MS-Off Ver
    Excel 2013
    Posts
    470

    Re: Archive data from one sheet to last row of another sheet

    Hi pjw23
    OOPs - this should now work
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    02-18-2004
    Posts
    55

    Re: Archive data from one sheet to last row of another sheet

    Wow, that works great, thank you very much!!!

  6. #6
    Valued Forum Contributor
    Join Date
    06-19-2010
    Location
    Holywell, N Wales, UK
    MS-Off Ver
    Excel 2013
    Posts
    470

    Re: Archive data from one sheet to last row of another sheet

    OK pjw23
    If this meets your needs please Mark your thread as SOLVED

+ 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