Maybe...
If InStr(1, PredecessorList.Offset(i, 0), activitylist.Offset(i, 0)) > 0 Then
HTH. Dave