selectRange

Selects the block of cells between two corners, leaving the cursor on focus.

Either corner may be the top-left one; the rectangle is normalised against the rows and columns currently on display.