Programmatically selects a range of cells.
Original signature is '- (void)setSelectionFrom:(NSInteger)startPos to:(NSInteger)endPos anchor:(NSInteger)anchorPos highlight:(BOOL)lit'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |

- startPos (NSInteger)
- The position of the cell that marks where the user would have pressed the mouse button.
- endPos (NSInteger)
- The position of the cell that marks where the user would have released the mouse button.
- anchorPos (NSInteger)
- The position of the cell to treat as the last cell the user would have selected. To simulate Shift-dragging (continuous selection) anchorPos should be the endPos used in the last method call. To simulate Command-dragging (discontinuous selection), anchorPos should be the same as this method call’s startPos.
- lit (Boolean)
- YES if cells selected by this method should be highlighted.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)