G
geoaerocfi
I'm trying to change a combobox's current selection by writing the item I
want in the text-box, using either just the name of the combobox (Me!cbox),
or the Value-version: (Me!cbox.Value).
Either way the textbox changes, just like I want, and the new item (not new
to the listbox, just the listbox item I wanted) shows up in the textbox. But
nothing else happens. The combobox doesn't know that the 'user' (VBA) has
entered the data, and tried to change the selection.
The closest I've come is to add .SetFocus and .Dropdown, after the
text-copy. Then the listbox drops down, and if the user hits Enter, the item
is indeed selected. OK, but not elegant.
want in the text-box, using either just the name of the combobox (Me!cbox),
or the Value-version: (Me!cbox.Value).
Either way the textbox changes, just like I want, and the new item (not new
to the listbox, just the listbox item I wanted) shows up in the textbox. But
nothing else happens. The combobox doesn't know that the 'user' (VBA) has
entered the data, and tried to change the selection.
The closest I've come is to add .SetFocus and .Dropdown, after the
text-copy. Then the listbox drops down, and if the user hits Enter, the item
is indeed selected. OK, but not elegant.