Microsoft Office Tutorials and References
In Depth Information
Validating data entered in controls
Validate data entered in a control (continued
6 In the Add New Action field below the MessageBox action (but still
inside the If block), select the command CancelEvent. This will reject
the user’s changes.
7 Save and close the macro designer. If you now view your form and
type values in the field, you should find that the validation rule
displays a message box and cancels your action when an invalid date
has been entered.
6
7
Search JabSto ::




Custom Search