I know this isnt that great...but some people didnt know how to do so, so i figured id post it

Heres how we prevent doubles, and then find an index by an item name

VB Code:
  1. Make 2 collections
  2. Dim Col1 As Collection
  3. Dim Col2 As Collection
  4.  
  5. Private Sub Form_Load()
  6. On Error GoTo errhndler
  7.     Dim iBool As Boolean
  8. Set Col1 = New Collection
  9. Set Col2 = New Collection
  10.     Col1.Add "afda", "afda"
  11.         If iBool = False Then
  12.              Col2.Add col.Count, "afda"
  13.         End If
  14.     Col1.Add "adbdadba", "adbdadba"
  15.         If iBool = False Then
  16.             Col2.Add col.Count, "adbdadba"
  17.         End If
  18.     Col1.Add "ff3", "ff3"
  19.         If iBool = False Then
  20.              Col2.Add col.Count, "ff3"
  21.         End If
  22.     Col1.Add "r3ds", "r3ds"
  23.         If iBool = False Then
  24.           Col2.Add col.Count, "r3ds"
  25.         End If
  26. '---
  27. msgbox Col2.Item("adbdadba")'returns the index of adbdadba
  28. Exit Sub
  29. errhndler:
  30.     If Err.Number = 457 Then
  31.         iBool = True
  32.         Resume Next
  33.     End If
  34. End Sub

Hope its useful to someone..