Templates.Item



Item(vID As Variant) As Template

Parameters

vID As Variant
Index or name. If the parameter is a numerical value, the template is searched by its index (>= 0 and <= Count-1). If it is an alphanumerical value, the template is searched by its unique name.
ED
avaliable
RT
avaliable

Remarks

Returns the object Template from the collection, which is identified by the parameter vID.

Hint: The templates defined in the global project are added to the templates of the current project. On accessing a template with its name it is first searched for in the current project. If it cannot be found there, it is searched for in the global project.

The parameter vID can have two values:

Hint: The returned object should be checked on Nothing, for the case that no object was found with the search criteria.

See Also

Templates, Template