Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Public Multidimensional Array 1

Status
Not open for further replies.

AlexCuse

Programmer
Apr 13, 2006
5,416
US
Hi All,

I know I have seen this somewhere in this forum of the VBA forum before, but for the life of me I can't find it using the search utilities. Basically what I want to do is have a public multidimensional array available to my form, populate it when the form loads, and have these values available to any subs running on the form. I could've sworn that there was a way to do this by creating the array in a module (but not the form module) and instantiating it somehow, but my memory is a bit fuzzy.

Any attempts to clear it up would be greatly appreciated.

Thanks much,

Alex

Ignorance of certain subjects is a great part of wisdom
 
Yeah I am a dope, I realized it about two minutes after I posted... Thanks for the reply though!

Ignorance of certain subjects is a great part of wisdom
 
If you only require the array in one Form you do not appear to require to Dim it Public in a Module.

Just Dim the Array in Declarations on the Form and populate it in the Load event.

HTH Hugh,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top