ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Forcing Combo box entry in VBA (https://www.excelbanter.com/excel-discussion-misc-queries/926-forcing-combo-box-entry-vba.html)

Anthony Slater

Forcing Combo box entry in VBA
 
In my user form, I have several combo boxes that take their source from
various named ranges.

The drop down lists work fine but at the moment, a user is able to overwrite
whats in the dropdown.

How can I ensure that only what is in the drop down is chosen?

TIA

IC

"Anthony Slater" wrote in message
...
In my user form, I have several combo boxes that take their source from
various named ranges.

The drop down lists work fine but at the moment, a user is able to

overwrite
whats in the dropdown.

How can I ensure that only what is in the drop down is chosen?


ComboBox MatchRequired property set to true should do it.

Ian




All times are GMT +1. The time now is 08:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com