Thx for your changes, I now understand were I went wrong. I gave it a quick try and it seems to work!
I understand comments about arrays. Will try to improve the code now I have some understanding of it.
Thank you verry much for your qick reply
Thank you erry