Syntax
StartOfRow [Select]
StartOfRow ([Select])
Remarks
The StartOfRow statement moves the insertion point or extends the selection (if Select is nonzero) to the beginning of the first cell in the table row containing the insertion point. If the selection extends over more than one row, the insertion point moves or the selection is extended to the first cell of the first row in the selection. If the insertion point or selection is not in a table, an error occurs.
The StartOfRow() function behaves the same as the statement and also returns one of the following values.
Value | Explanation |
0 (zero) | If the insertion point was not moved or the selection was not extended (that is, if it was already at the beginning of the row) |
–1 | If the insertion point was moved or the selection was extended |
Example
This example moves the insertion point from anywhere in the table to the beginning of the first cell:
StartOfRow StartOfColumn
See Also
EndOfRow, StartOfColumn, StartOfLine