Item Method
Description
The Item function returns the ReportTemplate Object with the given name or number.
Syntax
Visual Basic |
---|
Public Function Item( _ ByVal NameOrNumber As Variant _ ) As ReportTemplate |
Parameters
- NameOrNumber
- Required Variant that indicates which ReportTemplates object to return. It can be either a Long or a String. If it is a Long, it is the index number of the ReportTemplate object in the ReportTemplates collection. If it is a String, it is the ID of the ReportTemplate object.
Return Type
ReportTemplate object.
Remarks
Since the Item method is the default, the function name can be omitted if desired.
See Also