XlsRange
Activate Method (Boolean)
|
Activates a single cell, scroll to it and activates the corresponding sheet.
To select a range of cells, use the Select method.
Examples
The following code illustrates how to activate a Range with scroll flag:
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public virtual IXLSRange Activate(
bool scroll
)
Public Overridable Function Activate (
scroll As Boolean
) As IXLSRange
public:
virtual IXLSRange^ Activate(
bool scroll
)
abstract Activate :
scroll : bool -> IXLSRange
override Activate :
scroll : bool -> IXLSRange
Parameters
-
scroll
-
Type:
System
Boolean
True to scroll to the cell
Return Value
Type:
IXLSRange
Returns the active cell.
Implements
IXLSRange
Activate(Boolean)
See Also