The runtime error is due to the fact that the Key argument of the collection's add method must be of type String. SO you can avoid that problem using:
coll.Add arr1(i, j), CStr(arr1(i, j))
The runtime error is due to the fact that the Key argument of the collection's add method must be of type String. SO you can avoid that problem using:
coll.Add arr1(i, j), CStr(arr1(i, j))