First Property

Applies To

Characters collection object, Columns collection object, Paragraphs collection object, Rows collection object, Sections collection object, Sentences collection object, Words collection object.

Description

Sentences, Words, and Characters objects: Returns a Range object that represents the first sentence, word, or character in a document, selection, or range. Read-only.

Columns, Paragraphs, Rows, and Sections objects: Returns the first item in the specified collection. Read-only. For example, both of the following instructions return a Paragraph object that represents the first paragraph in the selection.

Selection.Paragraphs.First
Selection.Paragraphs(1)
See Also

Count property, Item method, Last property.

Example

This example right aligns the first paragraph in the selection.

Selection.Paragraphs.First.Alignment = wdAlignParagraphRight
This example applies shading and a bottom border to the first row in table one in the active document.

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