Cell.RowIndex Property
Word Developer Reference |
Returns the number of the row that contains the specified cell. Read-only Long.
Syntax
expression.RowIndex
expression An expression that returns a Cell object.
Example
This example creates a 3x3 table in a new document, selects each cell in the first column, and displays the row number that contains each selected cell.
Visual Basic for Applications |
---|
|
This example displays the row number of the first row in the selection.
Visual Basic for Applications |
---|
|
See Also