Global Variable

J

Joel

I want to create a global variable that I can toggle from
0 to 1 with If statements. Is this how to define it at
the top:?

Const olForrmOpen = 0

and can I change it in an If statement simply by doing
this:?

if olForrmOpen = 1 then
Const olForrmOpen = 1
end if

I think I have the syntax wrong.

Thank you
Joel
 
Top