CopyStylesFromTemplate Method Example

This example copies the styles from the active document's template to the document.

ActiveDocument.CopyStylesFromTemplate _
    Template:=ActiveDocument.AttachedTemplate.FullName

This example copies the styles from the Sales96.dot template to Sales.doc.

Documents("Sales.doc").CopyStylesFromTemplate _
    Template:="C:\MSOffice\Templates\Sales96.dot"