Combobox: Clicking the highlighted item in dropdown

pflosch

New Member
Joined
Sep 28, 2022
Messages
14
Office Version
  1. 2016
Platform
  1. Windows
I could not find this in the forum so far, hope I didn't miss any.

I have 2 problems with the behaviour of my comboboxes, I link a Demo file to explain.

In the linked demo file,

Issue 1:
- if I type "a" in the box, I receive a choice in the dropdown and when I click on one, the click event fires.
- if I type "aa" in the box, the choice is only aa, and it's highlighted. If I click on it, no Click event is fired.
=>How do I know "aa" has been selected?
I would like to get anything I click on into the Combobox, regardless whether Excel thinks it's the favorite choice or not.

Issue 2:
- If I type "a" in the box and hit arrowDown key, it selects the first match.
=> How to have it just moving the selection highlight in the dropDown?
I would like to move with arrows and select with enter key... :/
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,214,919
Messages
6,122,259
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top