Dim is short for Dimension statement.
If you're declaring variables, then one way is with the Dim statement: Examples: You can declare Arrays by: Option Explicit If a module has this set then all variables must be declared before usage. There are advantages and disadvantages to this: Variable Scope When you declare a variable it's scope can be: |