[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Workbook.ActiveSheet

ActiveSheet Property

ActiveSheet

Returns the active worksheet in the workbook.

Returns the worksheet that is currently active in the workbook. Returns null if no worksheet is active.

Declaration
public IWorksheet ActiveSheet { get; }
Public ReadOnly Property ActiveSheet As IWorksheet
Implements
Examples
IWorksheet detailSheet = workbook.Worksheets.Add();
detailSheet.Activate();
IWorksheet activeSheet = workbook.ActiveSheet;