P
Peter
Hello,
I have a Word Form that contains regular form field type fields and OCX type
fields. I believe the latter are also known as Active-X fields? These fields
are either checkboxes or optionboxes (radio buttons). I am using them because
they are more flexible. Anyway, for some unknown reason, the macros
associated with these fields stop working. When I investigated why the this
was happening, it turns out that the field names have all been changed so
that they have a "1" appended to the name. If I manually go through and
remove the "1" from each field name, then the code works.
Anyone have any ideas why this is happening?
Also, I've tried to write code that will check the field names on openning
the document but, I can't seem to figure out how to do this. The only classes
I can seem to find to work with here are Fields and FormFields. The OCX type
fields are not part of the FormFields collection and although I can access
them from the Fields collection, the Fields class does not surface the "Name"
property.
Anyone know how to loop through the OCX type fields in a document?
Thanks,
Peter
I have a Word Form that contains regular form field type fields and OCX type
fields. I believe the latter are also known as Active-X fields? These fields
are either checkboxes or optionboxes (radio buttons). I am using them because
they are more flexible. Anyway, for some unknown reason, the macros
associated with these fields stop working. When I investigated why the this
was happening, it turns out that the field names have all been changed so
that they have a "1" appended to the name. If I manually go through and
remove the "1" from each field name, then the code works.
Anyone have any ideas why this is happening?
Also, I've tried to write code that will check the field names on openning
the document but, I can't seem to figure out how to do this. The only classes
I can seem to find to work with here are Fields and FormFields. The OCX type
fields are not part of the FormFields collection and although I can access
them from the Fields collection, the Fields class does not surface the "Name"
property.
Anyone know how to loop through the OCX type fields in a document?
Thanks,
Peter