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.
Syntax
'Declaration
 
Sub Activate() 
'Usage
 
Dim instance As IRange
 
instance.Activate()
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

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

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