[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

TEMPLATE

Syntax:

TEMPLATE [ switch ]

Description: Retrieves the disk file name of the template used by the current document.

Field Value: The disk file name of the template used by the current document.

Switches: One of the following general-formatting-switches: \* Caps, \* FirstCap, \* Lower, or \* Upper, and zero or one of the following field-specific-switches.

\p

Include the full file path name.

[Example: Consider the case in which the following fields are updated:

TEMPLATE \* Upper
TEMPLATE \p

the results might be:

NORMAL.DOTM
C:\Templates\Normal.dotm

end example]