|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Cant type into content controls in a form after protecting document using macro
Hi there I have a table in a word document that has contentcontrols in each cell. Some are some dropdowns and some are richtext content controls.These are all working well I want the document to be protected but have some macros which sort and add rows to the table so have to briefly unprotect the document to run these when they are selected. When I use the ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True line to re-protect the document once the macro has run, it does protect the document again, but a bit too well! I am finding this glitch where I cannot type into the richtext content control boxes. If I click somewhere else on the document first, then reselect the cell with the contentcontrol I can type freely, but directly after the macro has run, I cannot type into these fields. Anyone know what I am doing wrong? Is annoyingly close to working beautifully! Many thanks Richard |
Tags |
protected view |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating and using a template (online form with content controls) | Esme | Word | 2 | 10-17-2014 07:18 AM |
Updating an old form with Content Controls | Something Anon | Word | 4 | 03-26-2014 03:53 PM |
Disabling content controls and protecting document sections. | Catty | Word VBA | 2 | 11-29-2013 05:10 AM |
Macro to link 2 content controls | bortonj88 | Word VBA | 2 | 08-21-2012 06:24 AM |
Content Controls Form Programming | beachdog | Word VBA | 4 | 09-20-2011 10:26 AM |