Quote:
Originally Posted by Guessed
Here is some aircode that might get you started. I'll assume that you use the checkbox Tag property to store the associated bookmark name
Code:
Dim aCtl as MSForms.Control
For Each aCtl In Me.Controls
Select Case TypeName(aCtl)
Case "CheckBox"
If ActiveDocument.Bookmarks.Exists(aCtl.Tag) then
ActiveDocument.Bookmarks(aCtl.Tag).Range.Font.Hidden = Not aCtl.Value
End If
End Select
Next aCtl
|
Thanks for your help.
Can you help me understand the code? Also, where in the code do I write the name of the bookmark associated?