A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

error alert for invalid date



 
 
Thread Tools Display Modes
  #1  
Old April 27th, 2010, 10:11 AM posted to microsoft.public.excel.worksheet.functions
Nader
external usenet poster
 
Posts: 48
Default error alert for invalid date

hi
I want excel showes error alert if user enters invalid dates like
"2010/2/29"...
I can not creat it on data validation.
  #2  
Old April 27th, 2010, 10:20 AM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default error alert for invalid date

Select the range..Say F1:F10

From DataValidation
--From Validation CriteriaSelect 'Date' and mention the start date and end
date..

--From Validation CriteriaSelect 'Custom' and mention the below formula..
=DAY(F1)


--
Jacob (MVP - Excel)


"nader" wrote:

hi
I want excel showes error alert if user enters invalid dates like
"2010/2/29"...
I can not creat it on data validation.

  #3  
Old April 27th, 2010, 11:51 AM posted to microsoft.public.excel.worksheet.functions
Nader
external usenet poster
 
Posts: 48
Default error alert for invalid date

it worked. thankes
best regards
nader

"Jacob Skaria" wrote:

Select the range..Say F1:F10

From DataValidation
--From Validation CriteriaSelect 'Date' and mention the start date and end
date..

--From Validation CriteriaSelect 'Custom' and mention the below formula..
=DAY(F1)


--
Jacob (MVP - Excel)


"nader" wrote:

hi
I want excel showes error alert if user enters invalid dates like
"2010/2/29"...
I can not creat it on data validation.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:39 AM.


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