| Visual Basic (Declaration) | |
|---|---|
Public ReadOnly Property Worksheets As WorksheetCollection | |
| C# | |
|---|---|
public WorksheetCollection Worksheets {get;} | |
Property Value
The collection of worksheets in the workbook.Use WindowOptions.SelectedWorksheet to set the selected worksheet. The selected worksheet is the worksheet seen when the workbook is opened in Microsoft Excel.