VBA statement to tell VBA that the variable, sub or function to follow is a global variable.
That means it can be used or changed anywhere in the program. Using this can make it harder to find bugs, but easier to code. A common agreed to naming convention is to start all public variables with a "g" for global. Explain VBA Global Variables VBA Global Variables Video |