Is there a way to solve the exit problem for me dim sList as list dim found=boolean found=false for i = 0 to sLlist.size-1 If sList.Get(i) = "data" Then 'only exit here found=true Exit 'not here end if next...