I asked the above question some time ago
and received a perfect soultion from Dealga McArdle (zeffi). I am now using 2.80 and the code nolonger works. Not sure how to contact the originator but would be grateful if this was notified to them to see if they could possible do an update. Many thanks in advance.