If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Restrict Cell Entry to Y or N

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-27-11, 19:22
JerryDal JerryDal is offline
Registered User
 
Join Date: Jan 2002
Location: Bay Area
Posts: 473
Restrict Cell Entry to Y or N

With an Excel 2003 data validation list of "Y,N", can I use the data validation function to accept lowercase 'y' or 'n' but change lowercase letters to uppercase if needed? Or should I accept all 4 values and use VBA with the sheet's Change event to uppercase the values?
Jerry
Reply With Quote
  #2 (permalink)  
Old 07-29-11, 18:53
Colin Legg Colin Legg is offline
Registered User
 
Join Date: Sep 2008
Location: London, UK
Posts: 495
Hi Jerry,

The latter choice of the two. I normally only allow upper case and in the data validation message box, I explain that entries must be upper case. The users catch on and it saves me having to use VBA for it.
__________________
Colin

RAD Excel Blog

Other tutorials:
Array Formulas | Deleting Rows with VBA
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On