Cells Properties (Word)

GitHub-Mark-64px

Contribute to this content

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

Properties

Name

Description

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.

Count

Returns the number of items in the Cells collection. Read-only Long.

Creator

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

Height

Returns or sets the height of the specified table cells. Read/write Single.

HeightRule

Returns or sets a WdRowHeightRule constant that represents the rule for determining the height of the specified cells. Read/write .

NestingLevel

Returns the nesting level of the specified cells. Read-only Long.

Parent

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

PreferredWidth

Returns or sets the preferred width (in points or as a percentage of the window width) for the specified cells. Read/write Single.

PreferredWidthType

Returns or sets the preferred unit of measurement to use for the width of the specified cells. Read-only WdPreferredWidthType.

Shading

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

VerticalAlignment

Returns or sets the vertical alignment of text in one or more cells of a table. Read/write WdCellVerticalAlignment.

Width

Returns or sets the width of the table cells, in points. Read/write Long.