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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Global Array

Status
Not open for further replies.

smsmail

Programmer
Aug 11, 2010
105
US
Hello,

I tried to declare a global array that could be used by the entire program, however I am getting the message:

...Constants, fixed-length strings, arrays, user-defined types and Declare statements not allowed as Public members of object modules.

Is there another way to define a global array?

Thanks so much for your help..

smsmail
 
Put it in a standard module, not a class module
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top