Solved

Date Validatation

Posted on 2013-02-06
4
166 Views
Last Modified: 2013-03-06
I have a colum of cells that I want to allow the user to only be able to enter in valid dates ex: 2/5/13.  However, when I changed the format to Date and locked the sheet so they could not change the format they are still able to add stupid stuff in like 2/5/13 (Annex).  How can I control this better in excel 2003?  

Thanks,
0
Comment
Question by:flfmmqp
4 Comments
 
LVL 26

Accepted Solution

by:
pony10us earned 250 total points
ID: 38859951
From the menu bar:

Data
Validation
Change to Date
Input a beginning date (I use 1/1/1900)
Input an ending date (I use 12/31/2100)
Complete the other two tabs as desired

Then you need to copy/paste specail validation in the rest of the cells.
0
 
LVL 45

Assisted Solution

by:aikimark
aikimark earned 250 total points
ID: 38861585
In the change event for the worksheet or the workbook, you can validate the data.  The event has a parameter that tells you the location that was changed (range object parameter).  You can check the column of the range to see if you need to validate it.

Use the IsDate() function.
0
 
LVL 47

Expert Comment

by:Martin Liss
ID: 38957039
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

679 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