Rows.First Property

Word Developer Reference

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.

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

See Also