Partager via


Cell.Row Property (Word)

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.

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

Concepts

Cell Object

Cell Object Members