Validate an MS Word form field
Posted on 2009-05-06
I have an exit macro on a Word form field to undertake a validation of the input. In the event of an error I use the .select to set the focus back to the field, however, this does not work as it seems to execute the tab key press subsequent to the function return and takes it onto the next field.
How do I ignore the key event to get the focus back onto the field that has the error?