Link to home
Start Free TrialLog in
Avatar of GEOFS
GEOFS

asked on

Word formfield existence

I know I can scan through the formfields in a Word document to determine whether there is one with a particular name, like this:

For Each aField In ActiveDocument.FormFields
 cName = aField.Name
Next aField

Is there a more direct way to determine whether or not a formfield exists using its name?  Ideally, it would look something like this:

ActiveDocument.FormFields("Text1").Exists
ASKER CERTIFIED SOLUTION
Avatar of Rgonzo1971
Rgonzo1971

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of GEOFS
GEOFS

ASKER

I guess you've confirmed my suspicion that there is no method or property that would tell me if the field exists.

Thanks, Rgonzo1971.