I have cross-posted this at: https://www.ozgrid.com/forum/forum/h...d-with-textbox
I have a userform named userform1,
a listbox named listbox1,
a commandbutton named commandbutton1,
a textbox named textbox1,
and a combobox named combobox1.
I want to sort the listbox with the combobox. So if I select item "122-22-122" in the combobox I only want items with "122-22-122" to show in the listbox.
I am also trying to input text into textbox1 and press commandbutton1 and filter the listbox.
So if I enter "555-21-777" in the textbox the listbox only shows items with that number in the listbox.
All controls are activex controls.
How can I do this in VBA? All suggestions on where I should start are welcome!
Bookmarks