Hi ScabbyDog,
Try this:
Sub FirstTryTime() 'ScabbyDog
Dim rng As Range, Wrd As String, WA As Boolean, WB As Boolean
Dim ws2 As Worksheet: Set ws2 = Worksheets("Sheet2 Before")
Dim ws3 As Worksheet: Set ws3 = Worksheets("Sheet 3 Before")
For Each rng In ws2.Range("B2:B" & ws2.Range("B" & Rows.count).End(xlUp).Row)
If rng.Offset(0, 2) Like "Word*" Then Wrd = rng.Offset(0, 2)
If rng = "Test" Then
If WA = False Then
If Wrd = ws2.Range("C1").Value Then
rng.Offset(0, -1).Copy ws3.Cells(3, "AJ")
WA = True
End If: End If
If WB = False Then
If Wrd = ws2.Range("D1").Value Then
rng.Offset(0, -1).Copy ws3.Cells(3, "AK")
WB = True
End If: End If
'Exit For
End If
Next rng
End Sub
Bookmarks