D
drichird
I have a small table based form, some text to prompt for user input in a few
cells, some (new Word 2007) 'plain text content control's in the other cells.
Form has been protected with [developer tab][group pulldown][group] so user
can only input into controls.
If I run the macro recorder on these commands: [select all][developer
tab][group pulldown][ungroup] to remove the 'group' protection from the text
fields, and then try to run that macro, I get an error 91 (Object Variable or
With Block variable not set) on the macro VBA line:
ParentContentControl.Ungroup
My goal is to programmatically ungroup my group protected form when certain
cells need to be deleted with cells(...).delete, based on certain user input
into the form.
cells, some (new Word 2007) 'plain text content control's in the other cells.
Form has been protected with [developer tab][group pulldown][group] so user
can only input into controls.
If I run the macro recorder on these commands: [select all][developer
tab][group pulldown][ungroup] to remove the 'group' protection from the text
fields, and then try to run that macro, I get an error 91 (Object Variable or
With Block variable not set) on the macro VBA line:
ParentContentControl.Ungroup
My goal is to programmatically ungroup my group protected form when certain
cells need to be deleted with cells(...).delete, based on certain user input
into the form.