+ Reply to Thread
Results 1 to 2 of 2

Delete all rows after last row of data

  1. #1
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,173

    Delete all rows after last row of data

    I want to delete all rows after the last row of data in column A. I have this bit of code to delete all rows but I can't figure out how to incorporate "LastRow" for column A variable into the the code. For example the LastRow of data in column A might be row 25. This this case delete all rows from row 26 and higher.
    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Delete all rows after last row of data

    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