Match entries in a list
Microsoft Forms provides three ways to match a value entered by the user with an entry that exists in the list of a ListBox or ComboBox:
No matching provides no assistance in matching a user's typed entry to an entry in the list.
First letter compares the most recently-typed letter to the first letter of each entry in the list. The first match in the list is selected.
Complete compares the user's entry and tries to find an exact match in an entry from the list.
The matching feature resets after two seconds (six seconds if you are using East Asia settings). For example, if you have a list of the 50 states and you type "CO" quickly, you'll find "Colorado." But if you type "CO" slowly, you'll find "Ohio" because the auto-complete search resets between letters.
If you choose Complete matching, it is a good idea to sort the list entries alphabetically (you can use the TextColumn property to do this). If the list is not sorted alphabetically, matching may not work correctly. For example, if the list includes Alabama, Louisiana, and Alaska in that order, "Alabama" will be considered a complete match if the user types "ala." In fact, this result is ambiguous because there are two entries in the list that could match what the user entered. Sorting alphabetically eliminates this ambiguity.
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.