Thanks snb (AGAIN!)
It always take me a while to decipher your code but it always turn out to be the most logical and efficent way of achieving what I need.