Solved

Date Validatation

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
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.

809 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