Worksheets.Item property (Excel)

Returns a single object from a collection.

Syntax

expression.Item (Index)

expression A variable that represents a Worksheets object.

Parameters

Name Required/Optional Data type Description
Index Required Variant The name or index number of the object.

Remarks

For more information about returning a single member of a collection, see Returning an object from a collection.

Example

Item is the default member for a collection. For example, the following two lines of code are equivalent.

ActiveWorkbook.Worksheets.Item(1) 
ActiveWorkbook.Worksheets(1)

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.