OK Dwight, so you're a Gentleman! Thanks for that neat code. I works like clockwork

I now understand both ADC and DEBUG!

Regards from Kwa Dukuza on the dark continent of Africa
John Bond