Creating Standardized Template for P&Ps

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Trying to create a template that would limit any formatting (outside of bullets/numbering) that can occur to the document for policies and procedures. Started using forms that I inserted throughout the doc, but the limitation was that should a user want to indent a line (Outline format) or insert a hyperlink, the protected documented wouldn't allow them to do so, and if they unprotect to alter the format, once re-protected any text entered in a text form field would be lost

This would be used in the creation of new P&Ps and in migrating older P&Ps to the new standardized format. Thoughts anyone?
 
Sure. Code can be used to apply styles from a menu, also created in VBA. Not
too long ago, I created a menu just like it. The formatting options run a
macro that unprotects, applies formatting, then reprotects (saving the
pre-filled data as necessary). Here's the 2 lines you need:

Before formatting code:
ActiveDocument.Unprotect Password:=""
After formatting code:
ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True,
Password:=""
<-*-><-*-><-*-><-*-><-*-><-*-><-*-><-*->
Hope this helps!
Anne Troy (better known as Dreamboat)
Author: Dreamboat on Word
Email: Dreamboat*at*Piersontech.com
Web: www.TheOfficeExperts.com
<-*-><-*-><-*-><-*-><-*-><-*-><-*-><-*->


obts1434 said:
Trying to create a template that would limit any formatting (outside of
bullets/numbering) that can occur to the document for policies and
procedures. Started using forms that I inserted throughout the doc, but the
limitation was that should a user want to indent a line (Outline format) or
insert a hyperlink, the protected documented wouldn't allow them to do so,
and if they unprotect to alter the format, once re-protected any text
entered in a text form field would be lost.
This would be used in the creation of new P&Ps and in migrating older P&Ps
to the new standardized format. Thoughts anyone?
 
Back
Top