I have the following find function followed by a cell offset and formula to grab the correct cell reference (this stems from Text to Cols on an old school text file from and old school system)
I would like to repeat the find and concatenate functions until the last time the "location stpl" is found and then stop.
Thanks
Code:
Sub Find_Term()'
' find term and concatenate necessary cells
Columns("A:A").Select
' to be looped until the last instance of STPL
Selection.Find(What:="Location STPL", After:=ActiveCell, LookIn:= _
xlFormulas, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:= _
xlNext, MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.Offset(1, 0).Select
ActiveCell.FormulaR1C1 = "=CONCATENATE(RC[5]&RC[6])"
End Sub
I would like to repeat the find and concatenate functions until the last time the "location stpl" is found and then stop.
Thanks