First Property
First property as it applies to the Characters, Sentences, and Words objects.
Returns a Range object that represents the first sentence, word, or character in a document, selection or range.
expression.First
expression Required. An expression that returns one of the above objects.
First property as it applies to the Columns object.
Returns a Column object that represents the first item in the Columns collection.
expression.First
expression Required. An expression that returns a Columns object.
First property as it applies to the Paragraphs object.
Returns a Paragraph object that represents the first item in the Paragraphs collection.
expression.First
expression Required. An expression that returns a Paragraphs object.
First property as it applies to the Rows object.
Returns a Row object that represents the first item in the Rows collection.
expression.First
expression Required. An expression that returns a Rows object.
First property as it applies to the Sections object.
Returns a Section object that represents the first item in the Sections collection.
expression.First
expression Required. An expression that returns a Sections object.
Example
As it applies to the Paragraph object.
This example right-aligns the first paragraph in the selection.
Selection.Paragraphs.First.Alignment = wdAlignParagraphRight
As it applies to the Rows object.
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
Applies to | Characters Collection Object | Columns Collection Object | Paragraphs Collection Object | Rows Collection Object | Sections Collection Object | Sentences Collection Object | Words Collection Object
See Also | Count Property | Item Method | Last Property