我一個人找相關字典的解決方法對象項目字典對象可以在同一個鍵下有多個項目嗎?
Dim a, d 'Create some variables
Set d = CreateObject("Scripting.Dictionary")
d.Add "a", "Athens" 'is possible I know
d.Add "a", "Athens","India","Paris" ' Is this Possible under same Key?
說明快照:(修訂)
Manger ID EMPID EMPID EMPID EMPID ......
11 12 10
15 10
20 22 45 46
40
如何上表中,然後可以使用Dictionary對象來實現?給我一些想法。
謝謝,
你能爲我的更新描述編碼嗎? –
你的意思是你的「描述快照:」部分是輸入excel部分,你想將它們存儲在字典中? – Larry
是的,拉里!你是對的!還希望看到如何訪問這些項目,一旦所有的鍵和項都加載到Dictionary對象中! –