Hi. I'm trying to check for the existance of nested dictionaries. It seems the very act of checking for them creates a new key?
Public Sub Test()
Dim dic As Dictionary
Set dic = New Dictionary
Debug.Print dic.Count 'Gives 0
On Error Resume Next
Debug.Print dic("test").Exists
Debug.Print dic.Count 'Gives 1?
End Sub
Is this meant to happen?
Public Sub Test()
Dim dic As Dictionary
Set dic = New Dictionary
Debug.Print dic.Count 'Gives 0
On Error Resume Next
Debug.Print dic("test").Exists
Debug.Print dic.Count 'Gives 1?
End Sub
Is this meant to happen?