setSelection method



Selects the specified range.

Syntax

waffleObject.setSelection(blank1, topLeftRow, topLeftCol,blank2, bottomRightRow, bottomRightCol)

Applies to

Waffle class.

Parameters

blank1
Integer. A placeholder, reserved for future use. The value must be 0.
topLeftRow
Integer. The row offset for the cell at the top left corner of the range. The offset is zero-based, so 0 specifies row 1.
topLeftCol
Integer. The column offset for the cell at the top left corner of the range. The offset is zero-based, so 0 specifies column A.
blank2
Integer. A placeholder, reserved for future use. The value must be 0.
bottomRightRow
Integer. The row offset for the cell at the bottom right corner of the range. The offset is zero-based, so 0 specifies row 1.
bottomRightCol
Integer. The column offset for the cell at the bottom right corner of the range. The offset is zero-based, so 0 specifies column A.

Return value

none.

Usage

[[Does the cursor position change?]]

Example
setSelection method example

See also
CursorColumn property
CursorRow property