His Nibbs,

Thank you for your help. Sometimes little things make a difference when they're not even noticed. The code works now.

Quote Originally Posted by His Nibbs View Post
4. Your code is VBA, not VBScript, so this post should really go in the Office forum.
Thank you for noticing that error. I will correct it for my next question.