Solved

Date Validatation

Posted on 2013-02-06
4
165 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 46

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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

791 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