Ah i'd forgotten to change one other item in the code.....that's it working now. Thanks a lot for your help Gasman and to everyone else for your time and patience....it's much appreciated Em x