PC Review


Reply
Thread Tools Rate Thread

Combo Box Data Validation - First Entry Blank

 
 
questor
Guest
Posts: n/a
 
      16th Sep 2008
I've looked and read, but haven't found solution . . .

I'm using a combo box in a worksheet, not a user form. I've followed the
very helpful CONTEXTURES instructions, but when the combo box is selected at
double click in the cell, the combo box opens blank, and any value can be
entered without data validation error (what's typed is not in the list range
of valid values).

Validation for the cell alone works (if the combo box isn't used). The
combo box contains all the valid values and type-ahead works -- it's just
that when it opens, the blank space allows any entry and data validation
doesn't pick up on it if entered using the combo box.

Can I default to the first value (in a worksheet, not a form) and/or can I
make the free-form user entry error out? This falls under category of
"simple", "not easy" -- at least for a knuckle-draggin' non-technical
supervisor, . . . like me. Please advise.
 
Reply With Quote
 
 
 
 
Per Jessen
Guest
Posts: n/a
 
      16th Sep 2008
Hi

Right click on the combobox in design mode and select proporties. Find
"MatchRequired" and set it to True.

Regards,
Per

"questor" <(E-Mail Removed)> skrev i meddelelsen
newsDC22527-6643-43A7-B892-(E-Mail Removed)...
> I've looked and read, but haven't found solution . . .
>
> I'm using a combo box in a worksheet, not a user form. I've followed the
> very helpful CONTEXTURES instructions, but when the combo box is selected
> at
> double click in the cell, the combo box opens blank, and any value can be
> entered without data validation error (what's typed is not in the list
> range
> of valid values).
>
> Validation for the cell alone works (if the combo box isn't used). The
> combo box contains all the valid values and type-ahead works -- it's just
> that when it opens, the blank space allows any entry and data validation
> doesn't pick up on it if entered using the combo box.
>
> Can I default to the first value (in a worksheet, not a form) and/or can I
> make the free-form user entry error out? This falls under category of
> "simple", "not easy" -- at least for a knuckle-draggin' non-technical
> supervisor, . . . like me. Please advise.


 
Reply With Quote
 
questor
Guest
Posts: n/a
 
      16th Sep 2008
I've tried that, and it still will allow any entry in that first blank line.
I've also tried deselecting the Excel validation for "Ignore Blank Cells" and
that doesn't seem to help either. Somehow, it's using the referenced
drop-down cells for the list, but not the validation / MatchRequired. Is
there another attribute I need to set? Can I force that first entry to avoid
the blank but still allow the type & autofill feature?

Thanks for the assistance.

Kind Regards,

Questor

"Per Jessen" wrote:

> Hi
>
> Right click on the combobox in design mode and select proporties. Find
> "MatchRequired" and set it to True.
>
> Regards,
> Per
>
> "questor" <(E-Mail Removed)> skrev i meddelelsen
> newsDC22527-6643-43A7-B892-(E-Mail Removed)...
> > I've looked and read, but haven't found solution . . .
> >
> > I'm using a combo box in a worksheet, not a user form. I've followed the
> > very helpful CONTEXTURES instructions, but when the combo box is selected
> > at
> > double click in the cell, the combo box opens blank, and any value can be
> > entered without data validation error (what's typed is not in the list
> > range
> > of valid values).
> >
> > Validation for the cell alone works (if the combo box isn't used). The
> > combo box contains all the valid values and type-ahead works -- it's just
> > that when it opens, the blank space allows any entry and data validation
> > doesn't pick up on it if entered using the combo box.
> >
> > Can I default to the first value (in a worksheet, not a form) and/or can I
> > make the free-form user entry error out? This falls under category of
> > "simple", "not easy" -- at least for a knuckle-draggin' non-technical
> > supervisor, . . . like me. Please advise.

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Validation: stop blank entry =?Utf-8?B?VGV0c3V5YSBPZ3VtYQ==?= Microsoft Excel Misc 2 8th Nov 2006 02:27 PM
How to make first combo box entry blank? Randall Parker Microsoft ASP .NET 12 13th Jan 2006 01:55 AM
data validation drop-down menu blank entry crapit Microsoft Excel Discussion 2 14th Dec 2005 01:22 PM
Text Box Validation - prevent a blank entry ecurb Microsoft Dot NET Framework Forms 1 18th Oct 2005 09:27 AM
removing the blank entry from a combo box? Howard Microsoft Access Forms 0 17th Oct 2005 09:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:44 PM.