Declaration w initialization - for dummies
Hi
When you declare a boolean variable, it is False by default. Just use:
Sub Test
Dim boolVar as Boolean
Debug.Print boolVar' See the value of the variable in the immediate window
End Sub
Regards,
Per
"Mac" skrev i meddelelsen
...
Hello,
how do I declare and initialize at the same time? If I cannot use 'Dim
boolVar as boolean = false' - what is correct, then?
|