Hmm, it looks like you don't have Option Explicit enabled. Now you know what happens when you don't use it.

If you have no more issues, you may now mark this thread Resolved!