Syntax
| Public [WithEvents] name[type][([dim[, ...]])] [As [New] type][, ...]
|
---|---|
Description
| Create arrays (or simple variables) which are available to the entire macro/module and other macros/modules. Dimension var array(s) using the dims to establish the minimum and maximum index value for each dimension. If the dims are omitted then a scalar (single value) variable is defined. A dynamic array is declared using without any dims. It must be ReDimensioned before it can be used. The Public statement must be placed outside of Sub, Function or Property blocks.
|
See Also
| |
Example
|
|