Y
Yarroll
Hi,
Is there any simpler (than below) method of deleting a bunch of rows based
on some criteria? (in this case, empty cells). I run the macro below, but it
takes forever to execute. Thanks,
Best regards
Yarroll
Dim i As Long, ile As Long
ile = WorksheetFunction.CountA(ActiveSheet.Range("B:B"))
For i = ile To 1 Step -1
If Cells(i, 1).Value = "" Then
Rows(i).Delete
End If
Next
End Sub
Is there any simpler (than below) method of deleting a bunch of rows based
on some criteria? (in this case, empty cells). I run the macro below, but it
takes forever to execute. Thanks,
Best regards
Yarroll
Dim i As Long, ile As Long
ile = WorksheetFunction.CountA(ActiveSheet.Range("B:B"))
For i = ile To 1 Step -1
If Cells(i, 1).Value = "" Then
Rows(i).Delete
End If
Next
End Sub