편집

다음을 통해 공유


Application.NormalTemplate property (Word)

Returns a Template object that represents the Normal template.

Syntax

expression. NormalTemplate

expression A variable that represents an Application object.

Example

This example inserts the AutoText entry named "Test" from the Normal template, if this entry is contained in the AutoTextEntries collection.

For Each entry In NormalTemplate.AutoTextEntries 
 If entry.Name = "Test" Then entry.Insert Where:=Selection.Range 
Next entry

This example saves the Normal template if changes have been made to it.

If NormalTemplate.Saved = False Then NormalTemplate.Save

See also

Application Object

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.