SpreadsheetGear 2023
ActiveWorksheet Property (IWorkbookWindowInfo)

SpreadsheetGear Namespace > IWorkbookWindowInfo Interface : ActiveWorksheet Property
Gets or sets the active worksheet of the workbook, or null if the active sheet is not a worksheet.
Property ActiveWorksheet As IWorksheet
Dim instance As IWorkbookWindowInfo
Dim value As IWorksheet
instance.ActiveWorksheet = value
value = instance.ActiveWorksheet
IWorksheet ActiveWorksheet {get; set;}
Use ActiveSheet if you do no 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


IWorkbookWindowInfo Interface
IWorkbookWindowInfo Members
WindowInfo Property