vba find sub dictionary

The solution for “vba find sub dictionary” can be found here. The following code will assist you in solving the problem.

Sub NestedDictionary()
Dim d1, d2
Set d1 = CreateObject(“Scripting.Dictionary”)
Set d2 = CreateObject(“Scripting.Dictionary”)

d1.Add “BPH”, “Hello”
d2.Add “Shaun”, d1
Debug.Print d2(“Shaun”).Item(“BPH”)
End Sub

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts