D
dsimcox
I have some form fields on a Word 2003 document. Unless the document is
protected, the form fields are not functional (I can't check a check box when
the document is unprotected)
I have a simple VBA procedure that toggles document protection, and when
protection is ON, the form fields work.
I've converted the document to Word 2007. Now this process is broken. In
order to make the form fields work, not only does the document need to be
protected, but I also have to do these 3 steps:
+
1. use the Editing Restrictions feature, click the "Allow only this type of
editing in the document" checkbox, then
2. select the tables containing the form fields (to identify the areas
where editing is allowed), and finally,
3. click the "Yes, Start Enforcing Protection" button
Then, the document is protected, and the form fields are editable.
BUT, if I remove the protection (I do this with a VBA procedure), the
re-apply the protection again, the form fields STOP working.
I have to go back manually and accomplish steps 1, 2, and 3.
I want to be able to do this with VBA so I can toggle this behavior with the
click of a button.
I've tried recording a macro to capture the code, but the macro recorder
does not capture these events for some reason.
Can someone direct me to a resource that will help me identify the objects
in the Restrict Editing and Formating pane so that I can manipulate them via
VBA?
protected, the form fields are not functional (I can't check a check box when
the document is unprotected)
I have a simple VBA procedure that toggles document protection, and when
protection is ON, the form fields work.
I've converted the document to Word 2007. Now this process is broken. In
order to make the form fields work, not only does the document need to be
protected, but I also have to do these 3 steps:
+
1. use the Editing Restrictions feature, click the "Allow only this type of
editing in the document" checkbox, then
2. select the tables containing the form fields (to identify the areas
where editing is allowed), and finally,
3. click the "Yes, Start Enforcing Protection" button
Then, the document is protected, and the form fields are editable.
BUT, if I remove the protection (I do this with a VBA procedure), the
re-apply the protection again, the form fields STOP working.
I have to go back manually and accomplish steps 1, 2, and 3.
I want to be able to do this with VBA so I can toggle this behavior with the
click of a button.
I've tried recording a macro to capture the code, but the macro recorder
does not capture these events for some reason.
Can someone direct me to a resource that will help me identify the objects
in the Restrict Editing and Formating pane so that I can manipulate them via
VBA?