See Also

IWorksheetWindowInfo Interface  | IWorksheetWindowInfo Members  | WindowInfo Property  | ActiveCellAreaIndex Property  | RangeSelection Property  | SetSelection(IRange,IRange,Int32) Method  | Activate Method  | Select Method

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

ActiveCell Property

SpreadsheetGear Namespace > IWorksheetWindowInfo Interface : ActiveCell Property

Returns an instance of IRange representing the active cell.

[Visual Basic]
Overridable ReadOnly Property ActiveCell As IRange
[C#]
virtual IRange ActiveCell {get;}
[C++]
__property virtual IRange* get_ActiveCell();
[C++/CLI]
virtual property IRange^ ActiveCell {    IRange^ get(); }

Remarks

The active cell is the single active cell within the current selection. To retrieve the entire selection, use the RangeSelection property.

To set the active cell, use the IRange.Activate() method.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IWorksheetWindowInfo Interface  | IWorksheetWindowInfo Members  | WindowInfo Property  | ActiveCellAreaIndex Property  | RangeSelection Property  | SetSelection(IRange,IRange,Int32) Method  | Activate Method  | Select Method

 

 


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.