I would like to store dictionary object in array but I am getting an error. is there any way which I can store dictionary in array
Sub aaa()
Dim arr(5)
'arr(0) = 100
Set dict_123 = CreateObject("Scripting.Dictionary")
dict_123.Add "first", 300
dict_123.Add "Second", 500
arr(0) = dict_123
End Sub
Error is Wrong number of Arguments or invalid property assignment at "arr(0) = dict_123 "
Setthat reference.Set arr(0) = dict_123.