S
simoncohen
I need to loop down a range and stop when a cell contains the text "xyz
somewhere within a cell.
Thank
somewhere within a cell.
Thank
Don Guillett said:try this
Sub findxyz()
x = Range("d7:d12").Find("xyz", lookat:=xlPart).Address
MsgBox x
End Sub
sub gotoxyz
Range(Range("d7:d12").Find("xyz", lookat:=xlPart).Address).Select
end sub