Doug
Wed May 23 10:11:10 CDT 2007
See the article "How to validate the contents of a formfield in a Word form"
at:
http://www.word.mvps.org/FAQs/TblsFldsFms/ValidateFFields.htm
You would use the Instr() function to determine if the .Result of the
formfield contained the invalid characters.
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
"Mark" <mark.whitehead@nospamntlworld.com> wrote in message
news:0D3100C2-3BF2-486E-A3CE-B0D38EF97B5F@microsoft.com...
> We're still using Word 97!
>
> Can someone assist me with some code which looks at the result of a form
> field and if the form field contains a "/" or "\" the user is presented
> with
> a msgbox stating that these characters cannot be used?
>
>
> Mark