ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Custom error-message for MatchRequired ComboBox (https://www.excelbanter.com/excel-programming/364954-custom-error-message-matchrequired-combobox.html)

Gert-Jan

Custom error-message for MatchRequired ComboBox
 
In my userforms I use often ComboBoxes, with the "MatchRequired" option to
"True". Is it possible to customize the error message when someone tries to
select something that is not in the RowSource? Now I see a awfull
Excel-error.



Dave Peterson

Custom error-message for MatchRequired ComboBox
 
Is there a reason not to change the .style property to fmStyleDropDownList?

Gert-Jan wrote:

In my userforms I use often ComboBoxes, with the "MatchRequired" option to
"True". Is it possible to customize the error message when someone tries to
select something that is not in the RowSource? Now I see a awfull
Excel-error.


--

Dave Peterson


All times are GMT +1. The time now is 03:20 AM.

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