When copy styles to WORD, exclude HEADING STYLES

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



When I use the following syntax, the macro copies and replaces all styles in
the open document. Is it possible to NOT COPY the heading styles, but all
others?

ActiveDocument.CopyStylesFromTemplate Template:= _
"c:\word templates\firmstyles.dot"

End Sub

THANKS SO MUCH!!

Kurt


.



Relevant Pages

  • Re: How to get current username into file path?
    ... I wanna create a macro for creating to copy styles from a specific ... template to currently open document ... I used the following syntax: ...
    (microsoft.public.word.vba.userforms)
  • Styles & Formatting Task Pane Not Working?
    ... I've created a macro that creates an outline (linked to ... macro and use any of the heading styles, ... the Styles and Formatting Task Pane appears to be ... names that are not the same as any built-in style names). ...
    (microsoft.public.word.formatting.longdocs)
  • Re: Add Style or other for TOC after the fact
    ... I was thinking more of a macro that would allow me to either apply a style ... heading styles so they look the way you want. ... This message is posted to a newsgroup. ... in one style - Normal - and formatting ...
    (microsoft.public.word.vba.general)
  • Re: AppleScripting
    ... Sub ColourHeadings() ... ' Macro written 2000 by John McGhie ... that macro simply retrieves the heading styles one after the other and ...
    (microsoft.public.mac.office.word)
  • How to get current username into file path?
    ... I wanna create a macro for creating to copy styles from a specific ... template to currently open document ... I used the following syntax: ... current user name instead of psbarapatre. ...
    (microsoft.public.word.vba.userforms)