adstam
Technical User
- Feb 28, 2001
- 25
To help users setting up their contracts we use some large word-templates with a lot of bookmarks, autotextentries etc. The templates are controlled bij optionbuttons and a lot vb-code. All this in Word 2000.
To ease the maintenance of the templates i'm building a macro to scan the complete document on used bookmark, autotextentries, macro's etc.
For this I also need to find all the optionbuttons in the document, and expected do that with:
To ease the maintenance of the templates i'm building a macro to scan the complete document on used bookmark, autotextentries, macro's etc.
For this I also need to find all the optionbuttons in the document, and expected do that with:
Code:
For each MyForm in ActiveDocument.Formfields
usedFormField(N) = MyForm.Name
next[\code]
But in this way I only pick up the regular fields, not the optionbuttons. How to do this??