setCursorPosition method
Places the cursor in a new cell, hence making it the current cell.
Syntax
waffleObject.setCursorPosition(blank, row, column)
Applies to
Waffle class.
Parameters
- blank
- Integer. A placeholder, reserved for future use. The value must be 0.
- row
- Integer. The row offset for the cell where the cursor is positioned. The offset is zero-based, so 0 specifies row 1.
- row
- Integer. The column offset for the cell where the cursor is positioned. The offset is zero-based, so 0 specifies column A.
Return value
none.
Usage
setCursorPosition does not scroll the worksheet. If the current cell is outside the visible area, the worksheet is not scrolled.
Example
setCursorPosition method example
See also
CursorColumn property
CursorRow property
scrollTo method