Public Sub DeleteNames()
Dim rng As Range
Application.ScreenUpdating = False
With Cells
Set rng = .Find("B A Smith", LookIn:=xlValues, LookAt:=xlWhole, SearchDirection:=xlPrevious)
If Not rng Is Nothing Then
Do
rng.EntireRow.Delete
Set rng = .FindNext(rng)
Loop While Not rng Is Nothing
End If
End With
Application.ScreenUpdating = True
End Sub
Public Sub DeleteNames()
Dim rng As Range, _
nameary As Variant, _
i As Long
nameary = Array("B A Smith", "J A Nobody", "P A Edwards")
Application.ScreenUpdating = False
For i = LBound(nameary) To UBound(nameary)
With Cells
Set rng = .Find(nameary(i), LookIn:=xlValues, LookAt:=xlWhole, SearchDirection:=xlPrevious)
If Not rng Is Nothing Then
Do
rng.EntireRow.Delete
Set rng = .FindNext(rng)
Loop While Not rng Is Nothing
End If
End With
Next i
Application.ScreenUpdating = True
End Sub