SpreadsheetGear 2017
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.
ReadOnly Property ActiveWorksheet As IWorksheet
Dim instance As IWorkbook
Dim value As IWorksheet
value = instance.ActiveWorksheet
IWorksheet ActiveWorksheet {get;}
read-only property ActiveWorksheet: IWorksheet; 
function get ActiveWorksheet : IWorksheet
__property IWorksheet* get_ActiveWorksheet();
property IWorksheet^ ActiveWorksheet {
   IWorksheet^ get();
Use ActiveSheet if you do not know that the sheet will be a worksheet.

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


IWorkbook Interface
IWorkbook Members