What I said before should display the number of characters on each line. You just sort by that, and then you do one delete to get rid of everything you don't want (since they will all be contiguous rows).Originally Posted by catalfamo1220
Alternatively, instead of sorting, you can do an AutoFilter on that column (the one with the lengths) with custom criteria to show all rows that have total length less than your threshold, and delete those. This method will preserve the order.
After either of these two, just delete the first column and you should be back to normal without the rows you don't want.
And if you want it really automatic, you'll have to write a macro to do it for you.
For the macro, you'd be best to loop through all the rows from last to first and delete the lines one by one. (First to last introduces extra complications)
Scott
Bookmarks