Dim All Variables In Code
This will dim all the variables in your code. This is always a smart thing to do after you finish writing your code. If you already have Dim statements in your code, you'll have to remove them before diming them again... It dim's all your variables of their variable types, like if the variable is a Long integer type, it will dim it as a Long integer type, if the variable is a string, it will dim it as a string, and so on... It supports all variable types!