Application.NormalTemplate Property

Word Developer Reference

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.

Visual Basic for Applications
  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.

Visual Basic for Applications
  If NormalTemplate.Saved = False Then NormalTemplate.Save

See Also