Yeah you're using VBScript instead of VBA, which is why some of the code isn't working as expected. That's not to say you can't do what you want, but we need to find out if someone can help with the VBScript - that's not my strong point.

Any VBScripters here?