Saxylady1964
03-04-2009, 11:26 AM
I've used VBA in Excel, but this is my first attempt at Word.
I have a document with a number of form fields. I'd like to create a macro that will verify that information has been entered in each field. i.e. all the checkboxes have been checked, text fields have text etc.
This is what I have. I'm using "" to indicate an empty field, but apparently the field does not = "".
If Bookmarks("text1").Range = "" Then MsgBox "Please Enter Text"
Can anyone help me? Thanks in advance :)
Diana
I have a document with a number of form fields. I'd like to create a macro that will verify that information has been entered in each field. i.e. all the checkboxes have been checked, text fields have text etc.
This is what I have. I'm using "" to indicate an empty field, but apparently the field does not = "".
If Bookmarks("text1").Range = "" Then MsgBox "Please Enter Text"
Can anyone help me? Thanks in advance :)
Diana