How to select a checkbox in Microsoft Word from VB6
I am using VB6 to access a Microsoft Word template. What I am perplexed on what to do is how to select a checkbox field as you can see from the attached image. Currently Quarter 2 is selected. How can I select Quarter 3. I can bookmark the field, but I don't know the syntax for selection and checking the field. Any help is appreciated.
Here is some example code I am currently using in the document if that helps.
Hi,
What sort of checkbox? Is it a Form Field, an Active X or a Content Control? If not in developer mode, all three types of checkbox look very similar.
The code seems to be adding text at a bookmark, so that doesn't help very much.
al4629740
ASKER
I think form fields
GrahamSkan
To use the document, do you have to protect it for 'Filling in forms'?
What sort of checkbox? Is it a Form Field, an Active X or a Content Control? If not in developer mode, all three types of checkbox look very similar.
The code seems to be adding text at a bookmark, so that doesn't help very much.