Hash Table/Associative Array in VBA
I think you are looking for the Dictionary object, found in the Microsoft Scripting Runtime library. (Add a reference to your project from the Tools…References menu in the VBE.) It pretty much works with any simple value that can fit in a variant (Keys can’t be arrays, and trying to make them objects doesn’t make … Read more