Word 2007 Command Button with Protected Document Not Executing
Posted on 2011-02-25
I have created a document in Word 2007 professional that has fields that the user will enter in a a form format.
I have added a command button and some code under a click() action.
If the document is set for "Allow for filling in forms" under the protection tab and I have NOT pressed the "Yes, Start Enforcing Protection" button and I press the my form's command button, the click() action code executes.
If I press the "Yes, Start Enforcing Protection" button and click the command button on my form, it depresses, but the click() action subroutine is not executed. If I press it about ten times in a row, the code finally executes.
Take off the protection... and it works on every press.
Any ideas would be helpful.