Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the specified font formatting as the default for the active document and all new documents based on the active template.
Syntax
expression. SetAsTemplateDefault
expression Required. A variable that represents a Font object.
Remarks
The default font formatting is stored in the Normal style.
Example
This example sets the character formatting in the selection as the default.
Selection.Font.SetAsTemplateDefault
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.