Yes you are correct there. The work you produced is spot on. Just need to find the right way to implement that into the code. Would like like me to post you the current code? I need to do a bit more work on it tonight to tidy up the lose ends. Thanks for you help. J