Sheets.Item Property (Excel)
Returns a single object from a collection.
Syntax
식 .Item(Index)
식 A variable that represents a Sheets object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Index |
필수 |
Variant |
The name or index number of the object. |
Example
This example activates Sheet1.
Sheets.Item("sheet1").Activate