Link to home
Start Free TrialLog in
Avatar of Andrew Crofts
Andrew CroftsFlag for Ukraine

asked on

Only allow input into content controls

Word 2007

I have had a request to prevent users entering text anywhere other than into content controls.

How can this be achieved?

TIA
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

Forms protection will do that. Open the 'Restrict Formatting and Editing' task pane with the Protect document button on the Developer tab. Tick the checkbox in section 2 and select 'Filling in forms' and then 'Yes, Start Enforcing Protection'. You can provide a password to prevent easy protection removal.
Avatar of Andrew Crofts

ASKER

Can this be done from a template and therefore applies to any document opend using this template?
Yes, no problem. Just Protect and Save.
Thanks

Couldn't seem to get the protection in the template to apply to the documents associated with it but for the time being that isn't the most important bit.

We have a custom tool bar where users can add content controls of various types. With the protection on, these cannot be added.

Not sure how I can get round this unless I can control the protection programmatcally. Ie turning off protection to insert new controls then back to allowing input only to the controls.

Can the control of protection be done programmatically? If so how.
ASKER CERTIFIED SOLUTION
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks

I think this might work but it leads me to another problem for which I will raise another question.

I'll do this when I get back to looking at this