Winon, AlphaFrog,

I thnk you both. I prefer the second set of code given by Winon, and it works perfectly

Thanks and regards,
gm2612