Thanks to everyone for the quick replies. I havent had chance to try the corrected code as yet, Ill post back when I get chance.

Regards, John