Solved

Date Validatation

Posted on 2013-02-06
4
168 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 46

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 48

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

626 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