See Also

IRange Interface  | IRange Members  | Select Method  | WindowInfo Property  | ActiveCell Property  | ActiveCellAreaIndex Property  | RangeSelection Property  | SetSelection(IRange,IRange,Int32) 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 

Activate Method

SpreadsheetGear Namespace > IRange Interface : Activate Method (IRange)

Sets the active cell of the worksheet associated with this IRange to the top-left cell of this IRange.

[Visual Basic]
Overridable Sub Activate()
[C#]
virtual void Activate();
[C++]
virtual void Activate();
[C++/CLI]
virtual void Activate();

Remarks

If the specified cell is not contained in the current selection, the current selection is set to the newly active cell.

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

IRange Interface  | IRange Members  | Select Method  | WindowInfo Property  | ActiveCell Property  | ActiveCellAreaIndex Property  | RangeSelection Property  | SetSelection(IRange,IRange,Int32) 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.