Scope of variable includes all Form _and_ Code modules??
Yes, it's possible. Simply declare them variables in a module using Public
keyword, Public p_i As Long, Public p_Const As String = "This is a string."
"John Wirt" wrote in message
...
Is it possible to declare a public variable so that it is within scope for
all Form and Code modules?
Thanks.
John Wirt
|