OpenAsDocument Method

See Also         Example         Applies To

Opens the specified template as a document and returns a Document object.

Note   Opening a template as a document allows the user to edit the contents of the template. This may be necessary if a property or method (the Styles property, for example) isn't available from the Template object.

Syntax

expression.OpenAsDocument()

expression   Required. An expression that returns a Template object.