One drawback to be aware of: The macro discussed in that article will
run only when the user is _leaving_ the field. If the user clicks with
the mouse to skip from one field to another and never enters the
required field in question, the macro never gets a chance to run.
In addition to the validation on exiting a particular field, you
probably want to write macros that intercept the Save and Print
commands
(
http://www.word.mvps.org/FAQs/MacrosVBA/InterceptSavePrint.htm) and
don't allow saving or printing unless the required field has valid
contents. If you need help with that, please post in the
microsoft.public.word.vba.general newsgroup
<
http://www.microsoft.com/communitie...ult.aspx?dg=microsoft.public.word.vba.general>.
--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.