SpreadsheetGear 2023
ActiveSheet Property (IWorkbook)


SpreadsheetGear Namespace > IWorkbook Interface : ActiveSheet Property
Returns the active sheet.
Syntax
'Declaration
 
ReadOnly Property ActiveSheet As ISheet
'Usage
 
Dim instance As IWorkbook
Dim value As ISheet
 
value = instance.ActiveSheet
ISheet ActiveSheet {get;}
Remarks
Use ActiveWorksheet if you know the sheet will be a worksheet or use ActiveChartSheet if you know the sheet will be a chart sheet.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IWorkbook Interface
IWorkbook Members