SetAsTemplateDefault Method
Applies To
Font object, PageSetup object.
Description
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.
Syntax
expression.SetAsTemplateDefault
expression Required. An expression that returns a Font or PageSetup object.
See Also
AttachedTemplate property.
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