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 object.

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

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.