Hi Russell, That looks really good. It would seem to allow for a lot of control. Yet another example for me to learn from! As someone new to programming, I'm only just starting to realise that in code there is no one answer to a problem. Thanks, Malcolm