I want to check all the fields on a document and check if they are filled in. I'm not a VBA programmer and I can't get the syntax right. Here's some psuedocode:
any suggestions? Don't think it should be that hard.
Thanks,
les
Code:
For i = 0 to FormFIelds.COunt do
If FormField.Value = '' then
ShowMessage("Please complete all the items")
exit Sub
else
ThisDocument.SaveAs ("O:\Conference Questionnaire\" & Environ("username"))
end if
next
any suggestions? Don't think it should be that hard.
Thanks,
les