CancelEvent Method
Define validation rules to control what values can be entered into a field
Events and Event Properties Reference
Example of validating data by using a macro
Find out when events occur
StopMacro Action
Validate or restrict data in forms
Why use a macro or an event procedure for data validation?