Thank you Ron. I found a routine I was able to adapt successfully.

Simon