• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Combo Box Autocomplete Sorting / Returning Values On Top

SuperX7

New Member
Hi guys,

After searching high and low online for solutions, I've come here to seek help!

The sheet I'm working on has a set of data where a user would select from a combo box with an autocomplete feature (taken from other resources).

When I click on the combo box, the list comes up like below (as it should, and this is fine):

01.png


But when you type in a letter for example "R", it comes up like this:

02.png


What I'm trying to achieve is for the combo box to return the results on the first (or top line) of the list like below:

The autocomplete function works fine apart from this and it's driving me mad.

03.png


Strangely, if you click the combo box again so that the list disappears BEFORE you type "R", the combo box behaves like this:

04.png


And if you click the combo box again, the list appears with the result on top (where I want it).

Is there a solution to this?

It seems the combo box returns the "best result" straight away, but how can we do this so the first result is on top?

On another different note, I believe activeX does not work with Mac OS, is there a compatible way to do this without using activeX controls?

File attached for viewing, thanks guys!
 

Attachments

  • Example.xlsm
    38.1 KB · Views: 10
Hi ,

The behaviour you have observed is the normal one for an ActiveX combobox.

Unfortunately , you cannot use a Form control combobox (dropdown) , since it does not have the feature you want.

In an ActiveX combobox , since R is after A , when you enter R , the entry is displayed at the bottom of the dropdown.

If , after selecting Radis slice , you now clicked on the dropdown and entered M , the entry would be displayed at the top of the list , since M is before R alphabetically.

Narayan
 
Hi Narayan,

Thanks for your response!

Is there a way to implement scrolling up and down code for the list using mouse wheel up/down?
 
Back
Top