[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorkbook.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
IWorksheet ActiveSheet { get; }
ReadOnly Property ActiveSheet As IWorksheet
Examples
IWorksheet detailSheet = workbook.Worksheets.Add();
detailSheet.Activate();
IWorksheet activeSheet = workbook.ActiveSheet;