PDA

View Full Version : Check Boxes in Word UserForm



Shezageek
03-02-2009, 03:09 PM
I have a project that adds multiple documents into one document. Each of these documents have checkboxes and userfields in them. There is also a command button which allows the user to add or remove documents that have been appended to the document. And each of the documents are wrapped in a bookmark.

The problem: When you add or remove another document, the checkboxes that remain in the document all revert to cleared. How can I make them stay "checked".

Any help is appreciated.

S

macropod
03-03-2009, 03:54 AM
Hi Shezageek,

Are you doing this adding/removing with vba? Is the problem occuring as soon as the adding/removing is done, or only when re-protecting the document?

Shezageek
03-03-2009, 07:18 AM
I think it is happening when it is re-protected. The weird thing is that a few of the checkboxes remain checked and the others are dumped. The ones that stay are no different than the ones that clear. They are also not in sections. The adding/removing is with VBA.

Thanks
S

fumei
03-03-2009, 09:25 AM
Post code. There is a NoReset parameter when protecting via code.