Variable not defined

You've used an Option Explicit statement to require the explicit declaration of variables, and you've used a variable without declaring it. This option protects your application from undeclared variables.