Sheet1.Columns("A:A").SpecialCells(xlCellTypeBlanks).EntireRow.Delete
Hi All,
I use the above code to delete the entire row of a cell in columnA if the cell is blank. This works fine with tables having blank cells in ColumnA but when VBA is not able to find any blank rows it can delete it shoots me an error. Is it really setup that way? I don't want to add an On Error
as I don't want the rest of the lines of codes be affected by any on-error-then-skip codes.
Sarah