Solved

Excel 2003: Combobox: Invalid Property Value

Posted on 2010-11-21
2
838 Views
Last Modified: 2012-05-10
If I make a combobox on a form. Set "Match Required" = True for that combobox and try to put an invalid value in the combobox I get the following message...

"Invalid Property Value".

This is not a intuitive message and if you have ever had multiple comboboxes on a form, the user won't know which one has the invalid entry

Is there a way to change this message? (i.e. "You have entered an invalid name in the name combobox, please select a name from the dropdown
0
Comment
Question by:ouestque
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
Tom earned 500 total points
ID: 34184878
instead of forcing the combobox matching, Set the property to false

Check the 'change' event of the combobox  .matchfound
if the box's Text property matches with any element,

if it doesn't, send a custom msgbox and select a default value.

0
 

Author Closing Comment

by:ouestque
ID: 34187332
Cool. I didn't know there was a .matchfound event. Thanks!
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question