date field validation

derlwyn

Registered User.
Local time
Today, 06:04
Joined
Mar 21, 2003
Messages
12
How do I surrpress the default validation error message that occurs with a date field?

I want to have my own msgbox triggerred by a isdate function, however I dont want the standard error box
 
Hello fellow Walian.

You use an error handling routine. Your procedure should include an On Error GoTo line that branches your code to a label. Under that label, you include your MsgBox code.

Look under ON Error in HELP. It contains a sub-section called

Elements of Run-time Error Handling

which explains it much better than I can
 

Users who are viewing this thread

Back
Top Bottom