NormalTemplate 属性

       

返回一个 Template 对象,该对象代表 Normal 模板。

expression.NormalTemplate

expression   必需。该表达式返回“应用于”列表中的一个对象。

示例

如果在 AutoTextEntries 集合中包含一个名为“Test”的“自动图文集”词条,本示例从 Normal 模板插入该词条。

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

如果修改了 Normal 模板,本示例将保存该模板。

If NormalTemplate.Saved = False Then NormalTemplate.Save