mc84excel, Many thanks for your code, I now have it working. Much appreciated.