---
title: "GridWorksheetCollection.ActiveSheetIndex"
url: "https://reference.aspose.com/cells/net/aspose.cells.gridweb.data/gridworksheetcollection/activesheetindex/"
product: "Aspose.Cells for .NET API Reference"
description: "GridWorksheetCollection property. Represents the index of active worksheet when the spreadsheet is opened"
---

## GridWorksheetCollection.ActiveSheetIndex property

Represents the index of active worksheet when the spreadsheet is opened.

```csharp
public int ActiveSheetIndex { get; set; }
```

### Remarks

Sheet index is zero based.

### See Also

* class [GridWorksheetCollection](../)
* namespace [Aspose.Cells.GridWeb.Data](../../../aspose.cells.gridweb.data/)
* assembly [Aspose.Cells.GridWeb](../../../)


