SpreadsheetGear 2012
ActiveWorksheet Property (IWorkbookWindowInfo)






Gets or sets the active worksheet of the workbook, or null if the active sheet is not a worksheet.
Syntax
'Declaration
 
Property ActiveWorksheet As IWorksheet
'Usage
 
Dim instance As IWorkbookWindowInfo
Dim value As IWorksheet
 
instance.ActiveWorksheet = value
 
value = instance.ActiveWorksheet
IWorksheet ActiveWorksheet {get; set;}
read-write property ActiveWorksheet: IWorksheet; 
function get,set ActiveWorksheet : IWorksheet
__property IWorksheet* get_ActiveWorksheet();
__property void set_ActiveWorksheet( 
   IWorksheet* value
);
property IWorksheet^ ActiveWorksheet {
   IWorksheet^ get();
   void set (    IWorksheet^ value);
}
Remarks
Use ActiveSheet if you do no 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

IWorkbookWindowInfo Interface
IWorkbookWindowInfo Members
WindowInfo Property

Send Feedback