+ Reply to Thread
Results 1 to 4 of 4

Need to Fin Last Row then copy / paste previous 6 rows and delete data

  1. #1
    Registered User
    Join Date
    09-01-2011
    Location
    New York
    MS-Off Ver
    Excel 2003
    Posts
    21

    Need to Fin Last Row then copy / paste previous 6 rows and delete data

    Hi, I have a spreadsheet where I need to insert new rows below the last row that has data. I want to find the last row, copy the previous 6 rows and paste them below the last row that has data. Then I need to delete the content of the cells of the new rows in columns A, E, F, J, K, L, M.
    Any help would be appreciated. I provided an attachment as well.

    Thanks
    Don
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Need to Fin Last Row then copy / paste previous 6 rows and delete data

    Try this:
    Please Login or Register  to view this content.
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Registered User
    Join Date
    09-01-2011
    Location
    New York
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Need to Fin Last Row then copy / paste previous 6 rows and delete data

    Thanks. I tried it but I am getting a runtime error 1004.

  4. #4
    Registered User
    Join Date
    09-01-2011
    Location
    New York
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Need to Fin Last Row then copy / paste previous 6 rows and delete data

    I've narrowed the runtime error down to the ClearContents line.
    Please Login or Register  to view this content.
    Any help is appreciated.
    Last edited by dwalton5; 09-01-2011 at 02:09 PM.

+ 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