12
I’m typing a text that’s in a Combobox of VBA/Excel, but the initial part of the text matches another already included in the list, besides completing it automatically (which I do not want), it changes the position of the list (the index).
Is there any way to stop it? For while typing it does not bring another text that matches?
Example: in the list of Combobox there are the colors YELLOW, BLUE and RED and I will include "GREEN", when starting to type, it automatically completes to "RED", since the initials coincide, however, if I correct and type GREEN, it has already changed the index (Combobox.Topindex) to the position of RED (will replace one with the other, which also do not want).
If RED is capitalized and I want to write in lower case, it always brings in upper case.
Has to lock this auto-complement?
Can someone help me?
Junior, excellent, I tested separately the properties Matchentry = fmMatchEntryNone and Autowordselect = False and gave the desired effect. Thanks for the code and the tips! Hug.
– Leo
Tranquilo Amigo!
– Junior Moreira