我想知道在二进制文件旁边是否有VBA中的内置树图对象。
现在我正在使用4个嵌套字典(来自脚本DLL), 每个人都在分开的班级中宣布。
Classe A
Private dicA As Dictionary
'can do stuff with dicA
'dicA contains String as Key and Class B object as Value
Classe B
Private dicB As Dictionary
'can do stuff with dicB
''dicB contains String as Key and Class C object as Value
Classe C
Private dicC As Dictionary
'can do stuff with dicB
''dicC contains String as Key and Class D object as Value
Classe D
Private dicD As Dictionary
'can do stuff with dicD
'dicD contains String as Key and String as Value
总之,Classe D对象是来自C类对象的子节点,C类对象是B类对象的子节点,等等......
我想知道是否有更好的方法在VBA中获得这种数据结构。
提前感谢。