something like
Code:
Sub test()
Dim Lastrow As Long
Dim i As Integer
Lastrow = Range("A" & Rows.Count).End(xlUp).Row
For i = 1 To Lastrow
If Range("A" & i).Formula = "***" Then
Range("B" & i).Formula = "***"
Range("A" & i).Formula = ""
End If
Next i
End Sub
or do you want to insert a cell
Code:
Sub test2()
Dim Lastrow As Long
Dim i As Integer
Lastrow = Range("A" & Rows.Count).End(xlUp).Row
For i = 1 To Lastrow
If Range("A" & i).Formula = "***" Then
Range("A" & i).Insert xlShiftToRight
End If
Next i
End Sub
HTH
Dave