How does this compare, or am I to late again?
Sub SearchAndReplace()
Dim i As Integer
Dim strFirst As String
Dim rng1 As Range, rng2 As Range
Set rng1 = Range("O:O")
Set rng2 = Range("A:J")
rng1.Activate
i = 0
Do
rng1.Find("1", ActiveCell, xlValues, xlWhole, xlByRows, xlNext, False, False).Activate
If i > 0 And ActiveCell.Address = strFirst Then Exit Do
If i = 0 Then strFirst = ActiveCell.Address
rng2.Replace ActiveCell.Offset(0, -1), "", xlPart, xlByRows, False, False, False
i = i + 1
Loop
Set rng1 = Nothing
Set rng2 = Nothing
End Sub
Bookmarks