Hi all
Having syntax problem with the last line, any thoughts would be great ty.
Having syntax problem with the last line, any thoughts would be great ty.
Code:
dim Actid as string
Actid = ActiveCell.Value
Sheets("OPP").Select
Range("a:a").Select
Selection.Find(What:=Actid, After:=ActiveCell, LookIn:= _
xlFormulas, LookAt:=xlWhole, SearchOrder:=xlByRows, SearchDirection:= _
xlNext, MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.Offset(1, 7).Activate
ActiveCell.FormulaR1C1 = "=IF(ISNUMBER(SEARCH(" & Actid & ",RC[-7])),TRUE,FALSE)"