' Original code for adding to Dictionary:
For Counter = 1 To UBound(arr, 1)
dic.Item(arr(Counter, 1)) = arr(Counter, 1)
Next
' Alternate code for adding to Dictionary:
On Error Resume Next
For Counter = 1 To UBound(arr, 1)
If Not dic.Exists(arr(Counter, 1)) Then dic.Add arr(Counter, 1), arr(Counter, 1)
Next
On Error GoTo 0