Excel VBA: Public Arrays in Class Objects -


is there way store public array within class object in excel vba?

i have class object stores data 3 key columns in 3 variables respectively. user able add columns, , store data each of these user columns array.

the 3 variables , user column array needs readable print information on different sheet.

is there way this? ideally i'd code function below...

dim myobject myclass  myobject.var1 = 1 myobject.var2 = 2 myobject.var2 = 3 myobject.uservariablearray(x) = "some value" 

from reading around there doesn't seem easy way this, people have suggested using collections. how work?


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -