Enable Formfield Checkbox using VBA

C

cheryl

Can you tell me how to enable a formfield checkbox using
VBA. I know I can select the checkbox by assiging it to a
bookmark, but I can't figure out how to enable the
checkbox. What I've got is two checkboxes. The second one
is disabled until the first one is checked. So I want
code to say if the first checkbox is checked, enable the
second checkbox.

Thanks!
 
D

Doug Robbins - Word MVP

Hi Cheryl,

Use

ActiveDocument.FormFields("BMName").Enabled = True

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top