Sets the active cell on this sheet.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim clearSelection As Boolean
instance.SetActiveCell(row, column, clearSelection) |
Parameters
- row
- Row index of cell
- column
- Column index of cell
- clearSelection
- Whether to clear selections
Example
This example sets the active cell and does not clear selections.
C# | Copy Code |
---|
fpSpread1.ActiveSheet.SetActiveCell(2, 2, false);
|
Visual Basic | Copy Code |
---|
FpSpread1.ActiveSheet.SetActiveCell(2, 2, False) |
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