I added a messagebox to show me the values instr is comparing (See below) and it looks like you are correct. However, the items are still not appearing in the list (So there is "Advanced Microprocessor", but not "Microprocessor" and "Logic Circuit", but not "Circuit").
It must be a problem with how the data is being written to the string list.
Dim tempList As Variant: tempList = ""
For Each cell In categories
If cell.Value <> "" And cell.Offset(0, -1).Value = Sheets("DropDowns").Range("a1") Then
MsgBox (cell.Value & " offset: " & cell.Offset(0, -1).Value)
If InStr(1, tempList, cell.Value, 1) = 0 Then
If tempList = "" Then tempList = Trim(CStr(cell.Value)) Else tempList = tempList & "|" & Trim(CStr(cell.Value))
End If
End If
Next cell
Bookmarks