What is the easiest way in VBA to determine the size (i.e. the number of keys) in a dictionary object?
Like in Scripting.Dictionary? just use the property .Count.
Scripting.Dictionary
.Count
For the number of keys (not elements) you should use the property .Keys, through UBound(Dictionary.Keys), since its array
.Keys
UBound(Dictionary.Keys)