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
Post a Comment