SetAsTemplateDefault Method
Font object: Sets the specified font formatting as the default for the active document and all new documents based on the active template. The default font formatting is stored in the Normal style.
PageSetup object: Sets the specified page setup formatting as the default for the active document and all new documents based on the active template.
expression.SetAsTemplateDefault
expression Required. An expression that returns a Font or PageSetup object.
Example
This example sets the character formatting in the selection as the default.
Selection.Font.SetAsTemplateDefault
This example changes the left and right margin settings for the active document and then sets the page setup formatting as the default.
With ActiveDocument.PageSetup
.LeftMargin = InchesToPoints(1)
.RightMargin = InchesToPoints(1)
.SetAsTemplateDefault
End With
Applies to | Font Object | PageSetup Object
See Also | AttachedTemplate Property