Thanks for your help Richard, but I'm afraid I'm not well versed in coding. What typically helps me is if I can see the code in context. Is there anyway you could post your entire code syntax rathen than snippets? Perhaps then I can get a better understanding on how to apply it, thanks.