hi,
I'm using Scripting Dictionary to make unique list:
Now I want to know how many items I have in dict. How to count lenght of dict?
I'm using Scripting Dictionary to make unique list:
Code:
Dim count_result As Long
count_result = 0
Set dict = CreateObject("Scripting.Dictionary")
For i = 3 To last_row
looking_string = wsC.Range("O" + CStr(i)).Value
If Not dict.exists(looking_string) Then
dict.Add looking_string, ""
End If
End If
Next i
Now I want to know how many items I have in dict. How to count lenght of dict?