Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-26-2015, 06:17 AM
rgburridge rgburridge is offline Cant type into content controls in a form after protecting document using macro Windows XP Cant type into content controls in a form after protecting document using macro Office 2007
Novice
Cant type into content controls in a form after protecting document using macro
 
Join Date: Jan 2015
Posts: 3
rgburridge is on a distinguished road
Default 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
Reply With Quote
 

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
Cant type into content controls in a form after protecting document using macro 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

Other Forums: Access Forums

All times are GMT -7. The time now is 03:01 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft