How to get combobox not to accept user input in Excel-Vba?

Vivian picture Vivian · Aug 10, 2011 · Viewed 82.4k times · Source

Does anyone know what the properties are in the combobox that I can manipulate in order not to allow the user to key/type in any data?

Answer

Jacob picture Jacob · Aug 10, 2011

Set the the Style of the combobox to 2 - fmStyleDropDownList. This will disallow user input, and will also prevent (combobox).value changes via macro.