$ 0 0 Excellent, Thank you all for your help. I shall try it using the inbuilt routines. Regards Dean