Help with placement of code.

dusty

Registered User.
Local time
Yesterday, 19:27
Joined
Aug 20, 2009
Messages
42
I have a userform within word. With some option buttons i want the outcome of these option buttons to affect some checkboxes embeded in the word document itself.

Where do I position the code if I place the code within the useform it does not recognise the existance of the check boxes in the word document.
 
currently i can addrees bookmarks in teh document from the userform. code used for this is

Dim orange as range

Set orange = ActiveDocument.bookmarks ("name of bookmark").range

so i guess i need to do the same for the option button or checkboxes

but what should it be ActiveDocument.Checkbox ("checkbox1").range

because .checkbox is not an option on the drop down list.
 

Users who are viewing this thread

Back
Top Bottom