+ Reply to Thread
Results 1 to 3 of 3

Delete all after last row

  1. #1
    Forum Contributor
    Join Date
    02-24-2010
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    195

    Wink Delete all after last row

    Hey folks.
    Im useing the below code to delete all information below the last populated row on each spreasheet. Unfortunately, my code appears to be deleting the last populated row too.
    What is the best way to correct my code?

    Cheers

    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Delete all after last row

    Replace lrow with lrow+1 in your last line.

  3. #3
    Forum Contributor
    Join Date
    02-24-2010
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    195

    Re: Delete all after last row

    Cheers Stephen

+ 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