SpreadsheetGear 2012
ActiveWorksheet Property (IWorkbook)






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;}
read-only property ActiveWorksheet: IWorksheet; 
function get ActiveWorksheet : IWorksheet
__property IWorksheet* get_ActiveWorksheet();
property IWorksheet^ ActiveWorksheet {
   IWorksheet^ 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

Send Feedback