This statement is used at module level to declare public variables and allocate storage space.
Public varname[([subscripts])][, varname[([subscripts])]] . . .
upper [, upper] . . .
The lower bound of an array is always 0.
Variables declared using the Public statement are available to all procedures in all forms in all projects.
A variable that refers to an object must be assigned an existing object using the Set statement before it can be used. Until it is assigned an object, the declared object variable has the special value Nothing.