Row Members (Word)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents a row in a table. The Row object is a member of the Rows collection. The Rows collection includes all the rows in the specified selection, range, or table.

Methods

Name

Description

ConvertToText

Converts a table to text and returns a Range object that represents the delimited text.

Delete

Deletes the specified table row.

Select

Selects the specified table row.

SetHeight

Sets the height of a table row.

SetLeftIndent

Sets the indentation for a row in a table.

Properties

Name

Description

Alignment

Returns or sets a WdRowAlignment constant that represents the alignment for the specified rows. Read/write.

AllowBreakAcrossPages

True if the text in a table row or rows are allowed to split across a page break. Read/write Long.

Application

Returns an Application object that represents the Microsoft Word application.

Borders

Returns a Borders collection that represents all the borders for the specified object.

Cells

Returns a Cells collection that represents the table cells in a column, row, selection, or range. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

HeadingFormat

True if the specified row or rows are formatted as a table heading. Rows formatted as table headings are repeated when a table spans more than one page. Can be True, False or wdUndefined. Read/write Long.

Height

Returns or sets the height (in points) of the specified row in a table. Read/write Single.

HeightRule

Returns or sets the rule for determining the height of the specified cells or rows. Read/write WdRowHeightRule.

ID

Returns or sets the identifying label for the specified table row when the document is saved as a Web page. Read/write String.

Index

Returns a Long that represents the position of an item in a collection. Read-only.

IsFirst

True if the specified row is the first one in the table. Read-only Boolean.

IsLast

True if the specified row is the last one in the table. Read-only Boolean.

LeftIndent

Returns or sets a Single that represents the left indent value (in points) for the specified table row. Read/write.

NestingLevel

Returns the nesting level of the specified table row. Read-only Long.

Next

Returns a Row object that represents the table row that is next in the collection of rows in a table. Read-only.

Parent

Returns an Object that represents the parent object of the specified Row object.

Previous

Returns a Row object that represents the table row that is previous to the specified row. Read-only.

Range

Returns a Range object that represents the portion of a document that is contained within the specified table row.

Shading

Returns a Shading object that refers to the shading formatting for the specified object.

SpaceBetweenColumns

Returns or sets the distance (in points) between text in adjacent columns of the specified row or rows. Read/write Single.