tiredofit
Well-known Member
- Joined
- Apr 11, 2013
- Messages
- 1,926
- Office Version
- 365
- 2019
- Platform
- Windows
My worksheet is as follows:
I am trying to retrieve a value using the dictionary's key:
but it does nothing.
What is wrong?
Thanks
Code:
Key Metric1 Metric2
1 a aa
I am trying to retrieve a value using the dictionary's key:
Code:
Dim dic As Scripting.Dictionary
Set dic = New Scripting.Dictionary
dic.Add Cells(2, 1), Cells(2, 2)
Debug.Print dic.Item(1)
but it does nothing.
What is wrong?
Thanks