That's how you declare a variable. It's good practice to explicitly declare your variables. But before you add this, try something. You know at the very top of the page you've got this:
Put this line just directly beneath that:
Then try running the code and see what happens.
Code:
Option Compare Database
Code:
Option Explicit