How to add items to ComboBox that match a value?
This is my code:
Dim v2, e2
With Sheets("Item").Range("A2:A100")
v2 = .Value
End With
With CreateObject("scripting.dictionary")
.comparemode = 1
For Each e2 In v2
If Not .exists(e2) Then .Add e2, Nothing
Next
If .Count Then Me.cmbItemDescription.List = Application.Transpose(.keys)
End With
My Table looks like this:
Output must be:
The values 'GARBAGE BAG, large, 100s' and 'GARBAGE BAG, XL, 100's are tagged as 'Available' according to the table, so it should be listed in the ComboBox.

