VBA-tools / VBA-Dictionary

Drop-in replacement for Scripting.Dictionary on Mac
MIT License
348 stars 89 forks source link

Add ability to enumerate over dict_pKeyValues #39

Closed lopperman closed 1 year ago

lopperman commented 1 year ago

If you accept pull requests, please consider adding this into the Dictionary.cls

Example of how this can be used: Dim d as New Dictionary d.Add "A", 1 d.Add "B", 2

Dim dItem Debug.Print "Formatted Key, Key, Value" For Each dItem in d Debug.Print dItem(0), dItem(1) , dItem(2) Next dItem

'OUTPUT '> Formatted Key, Key, Value '> A A 1 '> B B 2

lopperman commented 1 year ago

Apologies -- this PR left file in uncompilable state for PC Users.