Works like a charm Thanks kindly for your help, been wracking my brains for a day trying to puzzle it out!