Hi Tstav,

Thanks for youre reply. Youre answer was 'speculative', but it made the code perfect . It now stops when i want to.

Thanks ,

Amateur