Perchè l'ggetto coll non espone la funzione .Contains.
Potrei suggerirti questo codice alternativo..
codice:
Private Sub CommandButton1_Click()
Dim i As Long
Dim strTemp As String
Dim coll As New Collection
For i = 1 To 3000
strTemp = Foglio1.Cells(i, 1)
If Find(coll, strTemp) = False Then
coll.Add strTemp
End If
Next i
End Sub
Function Find(coll As Collection, name As String) As Boolean
For s = 1 To coll.Count
If coll.Item(s) = name Then
Find = True
Exit For
End If
Next
End Function
Da testare ovviamente....