Rows.First Property (Word)

Returns a Row object that represents the first item in the Rows collection.

Syntax

expression. First

expression Required. A variable that represents a 'Rows' collection.

Example

This example applies shading and a bottom border to the first row in the first table of the active document.

ActiveDocument.Tables(1).Borders.Enable = False 
With ActiveDocument.Tables(1).Rows.First 
 .Shading.Texture = wdTexture10Percent 
 .Borders(wdBorderBottom).LineStyle = wdLineStyleSingle 
End With

See also

Rows Collection Object