VBA-tools / VBA-Dictionary

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

Can not access the key or item using index #24

Open WhaleGEN opened 5 years ago

WhaleGEN commented 5 years ago
cnt = 0
For Each Key in dict.Keys  
     data(cnt) = dict(Key)
     cnt = cnt + 1  
Next

The above works

For i = 0 to dict.Count -1
    data(i) = dict.Items(i)
Next i

This above not work.

Property let procedure not defined and property get procedure did not return an object--run time error 451