How do you make an array (or any variable for that matter) available to more than one sub/function (IE the equivalent of "Public" in VB6)?
:mad: :o :eek:
Printable View
How do you make an array (or any variable for that matter) available to more than one sub/function (IE the equivalent of "Public" in VB6)?
:mad: :o :eek:
You need to use the Shared keyword.
Code:DIM SHARED MyVar AS INTEGER