Sub Test()
Dim cUnique As Collection
Dim Rng As Range
Dim Cel As Range
Dim sh As Worksheet
Dim N As Variant, fvalue
Set sh = ThisWorkbook.Sheets("Sheet1")
Set Rng = sh.Range("A1", sh.Range("A1").End(xlDown))
Set cUnique = New Collection
On Error Resume Next
For Each Cel In Rng.Cells
cUnique.Add Cel.Value, CStr(Cel.Value)
Next Cel
On Error GoTo 0
If ExistsInCollection(cUnique, "Lemon") Then
MsgBox "found"
Else
MsgBox "not found"
End If
End Sub
Public Function ExistsInCollection(pColl, ByVal pKey As String) As Boolean
On Error GoTo NoSuchKey
If VarType(pColl.Item(pKey)) = vbObject Then
' force an error condition if key does not exist
End If
ExistsInCollection = True
Exit Function
NoSuchKey:
ExistsInCollection = False
End Function