Option Explicit
Sub Macro1()
'http://www.mrexcel.com/forum/showthread.php?t=572619
'Delete any row(s) in A1:A100 that does not contain the text 'man'.
Dim rngCell As Range, _
rngDeleteRange As Range
Application.ScreenUpdating = False
For Each rngCell In [A1:A100]
If Len(rngCell) > 0 And rngCell.Value <> "man" Then
'Cater for initial setting of 'rngDelRange' range
If rngDeleteRange Is Nothing Then
Set rngDeleteRange = Cells(rngCell.Row, rngCell.Column)
Else
Set rngDeleteRange = Union(rngDeleteRange, Cells(rngCell.Row, rngCell.Column))
End If
End If
Next rngCell
If Not rngDeleteRange Is Nothing Then
rngDeleteRange.EntireRow.Delete
End If
Application.ScreenUpdating = True
End Sub