Paul_Hossler
10-19-2010, 05:16 PM
I've been creating templates that have the set of styles I need (or at least think I want) for different projects (thanks, Gerry:hi: )
I'll get documents from people who have manually applied almost all their formatting and/or messed up their styles
What's the best / fastest / flexablest way to apply the styles from one of my DOTX's and update the open doc's styles?
1. I tried attaching one of my style-holding templates checking (and not checking) 'Automatically Update Document Styles' but didn't seem to work
2. I recorded an Organizior macro (sample below)
Application.OrganizerCopy Source:= _
"\AppData\Roaming\Microsoft\Templates\Used to hold Styles.dotx" _
, Destination:="Document8", Name:="_Heading", Object:= _
wdOrganizerObjectStyles
but it gave me one line for every style
I could use that approach, but I'd have to open the template to get the .Styles and move them one at a time
Is there a better way??
Thanks
Paul
Edit: (Googled) Never knew this was here
Call ActiveDocument.CopyStylesFromTemplate("...\Templates\Style Setup.dotx")
I'll get documents from people who have manually applied almost all their formatting and/or messed up their styles
What's the best / fastest / flexablest way to apply the styles from one of my DOTX's and update the open doc's styles?
1. I tried attaching one of my style-holding templates checking (and not checking) 'Automatically Update Document Styles' but didn't seem to work
2. I recorded an Organizior macro (sample below)
Application.OrganizerCopy Source:= _
"\AppData\Roaming\Microsoft\Templates\Used to hold Styles.dotx" _
, Destination:="Document8", Name:="_Heading", Object:= _
wdOrganizerObjectStyles
but it gave me one line for every style
I could use that approach, but I'd have to open the template to get the .Styles and move them one at a time
Is there a better way??
Thanks
Paul
Edit: (Googled) Never knew this was here
Call ActiveDocument.CopyStylesFromTemplate("...\Templates\Style Setup.dotx")