I have a list of 2 columns that A has a random number associated with it and B has a string item. So i was thinking I could make any Arraylist of arrays, but i would like to make the name of the Array the number so it can quickly be referenced. I've tried
Dim row As Integer
Dim arrList As Object
Dim arr As Variant
arrList = CreateObject("System.Collections.ArrayList")
row = 1
While Not IsEmpty(ActiveSheet.Range("A" & row))
ReDim arr(0 To 1) As String
arr(0) = ActiveSheet.Range("A" & row)
arr(1) = ActiveSheet.Range("B" & row)
arrList.Add (arr)
row = row + 1
Wend
Is there a quick way to search ArrList(arr(0)?