|
|
Question : validate form field data is text or numeric...
|
|
I want to make sure that the data that is entered in my form fields are the right data or promt the user back so when I run my macro to send to database I won't run time error out then. But have a validation check for data.
|
Answer : validate form field data is text or numeric...
|
|
If IsNumeric(ActiveDocument.FormFields("Text1").Result then
should help,
but you might prefer to set the Type to Number in the Form Field properties.
|
|
|
|