I use this macro to delete all the rows containing zero in the given column. Column K in this case.
It works fine and deletes the rows where there is a zero in K , leaving the rest of the data in place.![]()
Please Login or Register to view this content.
Unfortunately , if it so happens that there are no zeros in the column, it wipes out all of the data in the sheet except the header.
I wonder if there is a way to stop it doing this and leave everything intact in the absence of the search criteria.
Grateful for any advice.![]()
Bookmarks