RAYLWARD102
Well-known Member
- Joined
- May 27, 2010
- Messages
- 529
I'm aware of how to add items to a combobox with a specific range; but am not sure how this works with auto filtered items.
I use the above to retrieve results but would like to add each line of result into a combobox so the user can select from it accordingly.
A second part to this is to make the "field:=8" into a variable. I have the column letter available but am not sure how I can turn it into a number (easily) and then use it in this above code as a var.
Code:
With iTe
Selection.AutoFilter Field:=8, Criteria1:="=*" & ComboBox1.Text & "*", Operator:=xlAnd '8 may need to be adjusted
ActiveWindow.SmallScroll Down:=-18
End With
I use the above to retrieve results but would like to add each line of result into a combobox so the user can select from it accordingly.
A second part to this is to make the "field:=8" into a variable. I have the column letter available but am not sure how I can turn it into a number (easily) and then use it in this above code as a var.