View Single Post
  #3   Report Post  
Posted to microsoft.public.word.formatting.longdocs
Robert M. Franz (RMF)
 
Posts: n/a
Default Adding Outline Styles to a template

Hi Jean

Jean Pereira wrote:
I have added 6 more outline numbered styles to a template which is attached
to all our documents.

Whilst the new styles are visible when creating new docs based using this
template, they are not available when editing previous docs created using the
older version of the same template. I thought that when you open an existing
doc, the new styles would automatically be available once the template was
updated.


No: once created, a document does not maintain a connection to its
template (except pointing to it for macros, for instance).


The only way I can get them attached is by going into the organiser and
copying over the styles from the template in the template directory to the
actual doc.

Is there an alternative way to handle this as there are thousands to
precedents we need to have these new styles available in?


(Most) anything you can do in Word, you can automize through VBA. And
usually automizeable to do on a bunch of files (say, in one folder).

See for instance the following thread:

http://groups.google.ch/group/micros...632c3238df66ae

and the therein referenced:

How to safely update a document's styles from its template without using
the Organizer (and how to make the Tools + Templates and Add-ins dialog
safe, by Dave Rado, Margaret Aldis, Ian Sharpe and Beth Melton)
http://word.mvps.org/FAQs/MacrosVBA/UpdateStyles.htm

And maybe also:

How to Find & ReplaceAll on a batch of documents in the same folder (by
Ibby)
http://www.mvps.org/word/FAQs/MacrosVBA/BatchFR.htm

Greetinx
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word