SpreadsheetGear 2023
ActiveWorksheet Property (IWorkbook)


SpreadsheetGear Namespace > IWorkbook Interface : ActiveWorksheet Property
Returns the active worksheet of the workbook, or null if the active sheet is not a worksheet.
Syntax
'Declaration
 
ReadOnly Property ActiveWorksheet As IWorksheet
'Usage
 
Dim instance As IWorkbook
Dim value As IWorksheet
 
value = instance.ActiveWorksheet
IWorksheet ActiveWorksheet {get;}
Remarks
Use ActiveSheet if you do not know that the sheet will be a worksheet.
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
ActiveSheet Property
ActiveChartSheet Property