How do I set an initial value to a global variable?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a Class Module in which I have created a global variable that
is a boolean.

I am able to Dim the variable with no problem.

When I try to initialize it using:

Private boolVar = true

I get an "Expected end of statement" error. How would I set boolVar to true?

Thanks in advance
 
Create an AutoExec macro that calls function named whatever, maybe
initializeValues(), and set the values in there.
 
Back
Top