I have the following macro,
Option Compare Text
Sub test2()
Dim x As Integer
If [I122].Value = "Trade" Then
With Range("B6:H119")
For x = 122 To 139
.Replace What:=Range("E" & x), Replacement:=Range("H" & x), LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
Next x
End With
Range("E122").Select
End If
End Sub
However if I122 does not equal trade, the macro stops checking. What I need is for the macro to check each row from I122:I139, then do a find and replace on E and H.
Thanks for your time...