Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scripting.Dictionary still commonly used in VBA?

Tags:

excel

vba

I had to cobble together some code in Excel/VBA and vaguely remember we used to add a reference to Microsoft Scripting Runtime to use Dictionary. Now in the days of Office 2010, is that still the preferred way of getting access to a Dictionary like structure or have things moved on?

like image 328
Ian Avatar asked Jan 20 '26 20:01

Ian


1 Answers

Dictionaries are still used the same old way in Excel VBA -- Read more here Does VBA have Dictionary Structure?

But there is an alternative to dictionary objects, using Collections More about that here: Using Dictionary Object in Excel VBA

like image 181
Ahmad Avatar answered Jan 22 '26 14:01

Ahmad