How does one go about creating dictionaries dynamically (from variables) in VBA?
I was hoping to create dictionaries dynamically and generate the name of the dictionary as a position of a loop through an array/ dictionary, but it seems that's not allowed in VBA as it displays "Constant expression required".
In an effort to schematics I was hoping to make these Dictionaries global and call upon separate functions/ subs as this is a tiny part of a big project but I think that assigning variables/dictionaries globally dynamically is pretty awkward in VBA. Seems VB.Script it's not as bad but it may be a bit too much to expect from VBA without creating another project of work?Please Login or Register to view this content.
Bookmarks