Solved

Excel 2003: Combobox: Invalid Property Value

Posted on 2010-11-21
2
788 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

930 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now