Please forgive the naiveté as I am more accustomed to C/C++ programming than VB/VBA...
I would like to create a structure/type for holding a variety of data, much like one would create a struct in C. I'd rather not create a Class in VB as I assume classes use more resources than would a simple structure.
When I define a Type and then try to add it to a Collection, I get an error that user defined types must be defined in public object modules in order to be passed as Variants to late-bound functions.
Is there a way to create a structure like this? Or should I just create a Class module? And if I create it as a class, will I need to use the New operator on each of my structures?
Thanks for the help.
negcx
Bookmarks