SpreadsheetGear 2023
Activate Method (IRange)

SpreadsheetGear Namespace > IRange Interface : Activate Method
Sets the active cell of the worksheet associated with this IRange to the top-left cell of this IRange.
Sub Activate() 
Dim instance As IRange
void Activate()
If the specified cell is not contained in the current selection, the current selection is set to the newly active cell.

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


IRange Interface
IRange Members
Select Method
WindowInfo Property
ActiveCell Property
ActiveCellAreaIndex Property
RangeSelection Property
SetSelection(IRange,IRange,Int32) Method