Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Excel 2003: Combobox: Invalid Property Value

Posted on 2010-11-21
2
Medium Priority
?
843 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 10

Accepted Solution

by:
Tom earned 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

715 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