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?
相关问题
- How to use Control.FromHandle?
- Excel sunburst chart: Some labels missing
- Error handling only works once
- Error handling only works once
- Excel formula in VBA code
相关文章
- Get column data by Column name and sheet name
- programmatically excel cells to be auto fit width
- Unregister a XLL in Excel (VBA)
- Unregister a XLL in Excel (VBA)
- Difference between SuspendLayout and BeginUpdate
- How to prevent excel from truncating numbers in a
- numeric up down control in vba
- Declare a Range relative to the Active Cell with V
or
(that's from MS Excel Help)
Here's a way to change this for each object on a worksheet:
Set the the Style of the combobox to
2 - fmStyleDropDownList
. This will disallow user input, and will also prevent (combobox).value changes via macro.