---
title: "MainWeb.ActiveSheetIndex"
url: "https://reference.aspose.com/cells/net/aspose.cells.gridweb/mainweb/activesheetindex/"
product: "Aspose.Cells for .NET API Reference"
description: "MainWeb property. Gets or sets the active sheet index. Equal to the WebWorksheets.ActiveSheetIndex"
---

## MainWeb.ActiveSheetIndex property

Gets or sets the active sheet index. Equal to the WebWorksheets.ActiveSheetIndex.

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

### See Also

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


