Checking for valid date
Look at the Isdate function.
Use the exit event for validating the textbox and also use the event code
for the buttons you are using to close the userform.
--
Regards,
Tom Ogilvy
"Paul M." wrote in message
...
I'm using a userform with a textbox among other things. I
want to ensure that not only does the user submit a date
in that textbox, I want to make sure it is a valid date.
If the date is invalid, I want to display a warning
message.
Thanks for the help.
Paul
|