Dear All,
Deleting ony those rows in excell sheet in which entire row cell is blank .
Any Help
Dear All,
Deleting ony those rows in excell sheet in which entire row cell is blank .
Any Help
Hello Aligahk06,
Based on your rather short explanation, I assume that you have a number of blank rows that you would like to be deleted. If so, the following code may do the task for you:-
I hope that this helps you.Sub ClearBlanks() Application.ScreenUpdating = False With ActiveSheet .AutoFilterMode = False With Range("A2", Range("A" & Rows.Count).End(xlUp)) .AutoFilter 1, "" On Error Resume Next .Offset(1).SpecialCells(4).EntireRow.Delete End With .AutoFilterMode = False End With Application.ScreenUpdating = True End Sub
Attached is a sample work book.
Cheerio,
vcoolio.