SelEndCol, SelStartCol, SelEndRow, SelStartRow Properties
See Also Example
Apply To
Grid.
Description
Determine the starting or ending row or column for a range of cells. Not available at design time.
SelEndColthe last selected column on the right.
SelStartColthe first selected column on the left.
SelEndRowthe lowest selected row.
SelStartRowthe first selected row.
Usage
[form.]grid.SelEndCol[ = numericexpression ]
[form.]grid.SelStartCol[ = numericexpression ]
[form.]grid.SelEndRow[ = numericexpression ]
[form.]grid.SelStartRow[ = numericexpression ]
Remarks
You can use these properties to select a specific region of the grid from code, or to read into code the dimensions of an area that the user selects.
SelStartCol and SelStartRow together specify the cell in the upper-left corner of a selected range. SelEndCol and SelEndRow specify the cell in the lower-right corner of a selected range.
To specify a cell without moving the current selection, use the Col and Row
Data Type
Integer
Help:
Col, Row Properties
Programmer's Guide:
Chapter 3, "Creating and Using Controls"