Compartilhar via


Workbooks.Item Property

Returns a single object from a collection.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property Item ( _
    Index As Object _
) As Workbook
    Get
'Usage
Dim instance As Workbooks
Dim Index As Object
Dim value As Workbook

value = instance.Item(Index)
Workbook this[
    Object Index
] { get; }

Parameters

  • Index
    Type: System.Object

    Required Object. The name or index number of the object.

Property Value

Type: Microsoft.Office.Interop.Excel.Workbook

See Also

Reference

Workbooks Interface

Workbooks Members

Microsoft.Office.Interop.Excel Namespace