Hi P45cal

That worked perfectly, I really appreciate your helping.

It looks very elegant and introduces several new bits of Excel which I will attempt to understand.

Many thanks,

Nick