I am adding dictionary items like this:
And am trying to loop through just the first set of items in the array, but am having trouble doing so.![]()
dic.Add Key, Array(Item2, Item2)
I have tried the following but to no avail:
and![]()
For Each z In dic.Items z = dic.Item(0) If z = "Test" Then x = x + 1 End If Next z
Thanks in advance![]()
For i = 0 To UBound(dic.Keys) If dic.Item(dic.Keys(i))(0) = "Test" Then y = y + 1 End If Next
Bookmarks