Template Property
Returns or sets a String that represents the file path of the template applied to the document library. Read/write.
expression.Template
expression Required. An expression that returns a DocumentLibrary object.
Example
The following example creates a reference to a document library named NewLibrary and displays the file path of the template associated with the library.
Sub TemplatePath()
'Displays the file path of the template
Dim objApp As FrontPage.Application
Dim objLists As Lists
Dim objLibrary As DocumentLibrary
Set objApp = FrontPage.Application
Set objLists = objApp.ActiveWeb.Lists
Set objLibrary = objLists.Item("NewLibrary")
'Display message to user
MsgBox "The file path of the template associated with the " & _
"document library is " & objLibrary.Template & "."
End Sub