Cell.Row Property

Word Developer Reference

Returns a Row object that represents the row containing the specified cell.

Syntax

expression.Row

expression   An expression that returns a Cell object.

Example

This example applies shading to the table row that contains the insertion point.

Visual Basic for Applications
  If Selection.Information(wdWithInTable) = True Then
    Selection.Cells(1).Row.Shading.Texture = wdTexture10Percent
Else
    MsgBox "The insertion point is not in a table."
End If

See Also