I have used this code to delete all rows which are blank:
Sub DelBlankRows()
Columns("L:L").SpecialCells(xlCellTypeBlanks).EntireRow.Delete
End Sub
Now I need to delete all rows that are not blank. Like if a cell in Column L:L contains any text or number then it deletes the entire row.