Thanks Graham your a superstar!! Thanks for all your help it works perfectly!!