Share via


Worksheet.Index Property

Gets the index number of the worksheet within the collection of worksheets.

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

Syntax

'Declaration
ReadOnly Property Index As Integer
    Get
int Index { get; }

Property Value

Type: System.Int32
The index number of the worksheet within the collection of worksheets.

.NET Framework Security

See Also

Reference

Worksheet Interface

Microsoft.Office.Tools.Excel Namespace