You can change the scope of the variables from procedure level all the way up to global level (this skips the intermediate scope of module level, where the variable would be visible to all procedures within a module, but invisible to other modules).
You use the same declaration syntax as the Dim statement in a procedure, but you replace Dim with Public, and move the statement into the declarations section of the module.
The one cautionary note is that you should limit the use of the global variables 1)because they require more memory and 2)because it can become difficult to keep variable names and value changes straight.