in reply to loop control
Can you show us the loop using next that works and show us the data assigned to @list?