Shawn,

I looked for it in the chm files supplied with Office, but couldn't find anything. In the end I tried without setting it as a variable and it appears to work, so if you can find something else then I'm happy for your assistance.

It's taken me ages to figure this out, but at the end of the day I have learned loads so thanks again guys.