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

Cell Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.