Sub ClearNilOrEmptyRows()
Dim lRow As Long
Dim lCnt As Long
lRow = Cells.Find(what:="*", searchorder:=xlByRows, searchdirection:=xlPrevious).Row
For lCnt = lRow To 1 Step -1
If WorksheetFunction.CountA(Rows(lCnt)) = 0 Or _
WorksheetFunction.Sum(Rows(lCnt)) = 0 Then
Rows(lCnt).EntireRow.Delete
End If
Next
End Sub