Sub DeleteRows() 'This macro will delete the entire row if there is a data match anywhere in the range.
Application.ScreenUpdating = False
On Error Resume Next
With Range("A:A")
.Replace "check - total rows", False, xlWhole
.SpecialCells(xlCellTypeConstants, 4).EntireRow.Delete
.Replace "check - differencess", False, xlWhole
.SpecialCells(xlCellTypeConstants, 4).EntireRow.Delete
End With
On Error GoTo 0
Application.ScreenUpdating = True
End Sub