tiredofit
Well-known Member
- Joined
- Apr 11, 2013
- Messages
- 1,924
- Office Version
- 365
- 2019
- Platform
- Windows
My understanding of a dictionary is that they key is mandatory but its items are not.
So why does this work:
but not this:
Thanks
So why does this work:
Code:
Dim DIC As Object
Set DIC = CreateObject("Scripting.Dictionary")
DIC.Add "MyKey", "MyItem"
but not this:
Code:
Dim DIC As Object
Set DIC = CreateObject("Scripting.Dictionary")
DIC.Add "MyKey"
Thanks