Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 60
Default custom data validation

How can I ensure that inputs in a particular cell are in one of the
following formats:

# / #
# / ##
## / ##
## / ###
### / ###

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default custom data validation

First, I assuming that you really don't mean format, because if you do you
can set the format of the cell using Format, Cells before the data is entered.

If instead you want to make sure that the user enters a 2 digit number
divided by a 2 or 3 digit number, etc. Then you will want to use a
Worksheet_Change event and write code to test the entry. Do you want a code
solution? And if so have you specified all the legal entries, for example,
#/### is not legal, nor is ###/####?

--
Thanks,
Shane Devenshire


"Matt" wrote:

How can I ensure that inputs in a particular cell are in one of the
following formats:

# / #
# / ##
## / ##
## / ###
### / ###

Thanks!


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom data validation Guy Normandeau Excel Discussion (Misc queries) 3 April 18th 06 04:12 PM
Data Validation - Scroll in the formula bar for a custom criteria Hanno Scholtz Excel Worksheet Functions 3 September 22nd 05 02:11 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
Custom Format and Data Validation Q John Excel Worksheet Functions 1 January 6th 05 05:56 PM
Excel2000: Custom data validation and named ranges Arvi Laanemets Excel Discussion (Misc queries) 9 December 10th 04 07:05 PM


All times are GMT +1. The time now is 04:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"