Validating Dates
What are you inputting to? a userform, spreadsheet etc.
I tried putting your code behind a userform textbox and it worked fine.
If its on the spreadsheet then I think that depends on your regional
settings as to whether its a correct date, ie in the Uk 31/06/2005 is a
valid date.
Regards,
James
|