Bill_Gates
$163 Billion Dollar Man
- Local time
- Today, 05:37
- Joined
- Oct 22, 2010
- Messages
- 11
I want to define, not just declare, a global string array for use in all my subs and functions in my module.
I know how to define a global function, but I can not call this function in the same way I could call an array.
I could use a class, but I want all the code to be in the same standard module.
All I want to do is something like:
Global StringArray() As String
StringArray(1) = "First String"
StringArray(2) = "Second String"
etc
And be able to access the members of the array elsewhere.
Any ideas?
I know how to define a global function, but I can not call this function in the same way I could call an array.
I could use a class, but I want all the code to be in the same standard module.
All I want to do is something like:
Global StringArray() As String
StringArray(1) = "First String"
StringArray(2) = "Second String"
etc
And be able to access the members of the array elsewhere.
Any ideas?