Tabs.Item Method (Outlook Forms Script)

Returns a member of a collection, either by position or by name.

Syntax

expression.Item(varg)

expression A variable that represents a Tabs object.

Parameters

Name Required/Optional Data type Description
varg Required Variant A member's name or index within a collection.

Return value

An Object that corresponds to the specified member in the collection.

Remarks

The varg can be either a String or an Integer. If it is a String, it must be a valid member name. If it is an Integer, the minimum value is 0 and the maximum value is one less than the number of items in the collection. r

If an invalid index or name is specified, an error occurs.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.