Archive of Mr Excel Message Board
Just a quick problem that I was hping one of you could help me with. I have set up a command bar tha contains a combobox allowing the user to select an item from the list. Is there any way of preventing the user from editing the text in the combobox. At the minute the user is able to edit the text in the combobox and if they change the text to a value that is not predefined in the combobox list then the macro crashes as it can not find a match.
kind regards,
and a Merry Christmas
Anna

Just a thought:
Wouldn't a listbox instead of a combobox do
exactly what you need? It takes the combo
out of the combobox.
--tim

Go to the properties list for the combo box and change "style" from dropdowncombo to dropdownlist
