SpreadsheetGear Namespace > IWorkbook Interface : ActiveWorksheet Property (IWorkbook) |
Returns the active worksheet of the workbook, or null if the active sheet is not a worksheet.
[Visual Basic]
Overridable ReadOnly Property ActiveWorksheet As IWorksheet
[C#]
virtual IWorksheet ActiveWorksheet {get;}
[C++]
__property virtual IWorksheet* get_ActiveWorksheet();
[C++/CLI]
virtual property IWorksheet^ ActiveWorksheet {
IWorksheet^ get();
}
Use ActiveSheet if you do not know that the sheet will be a worksheet.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
IWorkbook Interface | IWorkbook Members
See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.
Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.
SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.