Alain, thanks for the code, I'll have a play later and see what I get