Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-12-2011, 10:13 PM
Stella Stella is offline Restrict Formatting in a Template Windows XP Restrict Formatting in a Template Office 2007
Novice
Restrict Formatting in a Template
 
Join Date: Jul 2011
Location: Brisbane, Australia
Posts: 2
Stella is on a distinguished road
Default Restrict Formatting in a Template

Hi,

I currently have a template in Word 2007 that I'm trying to restrict other users from changing i.e. moving text boxes or deleting images (only the text is editable). I've done this by going Protect Document -- Restrict Formatting and Editing -- Yes, Start Enforcing Protection. It is all set up exactly how I want it to be when I have the original template open.



However when another user goes to use the template the protection is no longer enforced and they can make all the changes I don't want them to.

This was orginally a Word 2003 document that I converted to 2007 and then made into a template.

Any suggestions on how I can fix this? I tried enforcing the protection while in design mode as Microsoft suggests but the the "Yes, Start Enforcing Protection" button is greyed out and won't work.

I hope that makes sense, it was really hard to try and explain it

Thanks,
Stella.
Reply With Quote
  #2  
Old 07-12-2011, 11:59 PM
macropod's Avatar
macropod macropod is online now Restrict Formatting in a Template Windows 7 64bit Restrict Formatting in a Template Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Stella,

From what you've described, I think it's because you're protecting the *template* from editing - which is not the same as protecting documents based on it. You may need to add a 'Document_New' macro to the template's 'ThisDocument' module to enforce the desired protection in the documents created from it.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 07-13-2011, 04:43 PM
Stella Stella is offline Restrict Formatting in a Template Windows XP Restrict Formatting in a Template Office 2007
Novice
Restrict Formatting in a Template
 
Join Date: Jul 2011
Location: Brisbane, Australia
Posts: 2
Stella is on a distinguished road
Default

Thanks for the response!

I'm pretty new to macro's, I know the absolute basics. Any chnace you could walk me through how to do that?

Much appreciate your help
Reply With Quote
  #4  
Old 07-14-2011, 08:21 PM
macropod's Avatar
macropod macropod is online now Restrict Formatting in a Template Windows 7 64bit Restrict Formatting in a Template Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Stella,

If you make a copy of the template, then use the macro recorder to record exactly what it is you're protecting, Word will produce some vba code that reflects that. The recorded code will likely have a lot of stuff you're not interested in, but if you could post the relevant portions of the recorded code, I can probably give you back something you can use in the original template.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
restrict formatting, template, word 2007

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Restrict Formatting in a Template how can I restrict what characters are allowed in an activex field? Joe Patrick Word 2 06-20-2011 05:32 AM
Restrict Formatting in a Template Formatting cegbuna Word VBA 7 03-27-2011 02:20 PM
Template "File In Use" when opening 2 documents based on the same template wendt Word 5 12-15-2009 12:37 AM
Restrict Formatting in a Template Formatting Help caution5697 Word 3 04-22-2009 11:53 PM
Trick to restrict opening excel/word ?? 9morebusy Excel 0 11-12-2008 04:18 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:39 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