Firstly apologies in delay in responding. Secondly huge thanks for the code, very appreciated!!! I’ve never actually seen the union coding in practice before and take your point about separate procedures, it is a nasty habit of mine ��