Cells Object Members

Word Developer Reference

A collection of Cell objects in a table column, table row, selection, or range.

Methods

  Name Description
Bb257477.methods(en-us,office.12).gif Add Returns a Cell object that represents a cell added to a table.
Bb257477.methods(en-us,office.12).gif AutoFit Changes the width of a table column to accommodate the width of the text without changing the way text wraps in the cells.
Bb257477.methods(en-us,office.12).gif Delete Deletes a table cell or cells and optionally controls how the remaining cells are shifted.
Bb257477.methods(en-us,office.12).gif DistributeHeight Adjusts the height of the specified cells so that they are equal.
Bb257477.methods(en-us,office.12).gif DistributeWidth Adjusts the width of the specified cells so that they are equal.
Bb257477.methods(en-us,office.12).gif Item Returns an individual Cell object in a collection.
Bb257477.methods(en-us,office.12).gif Merge Merges the specified table cells with one another. The result is a single table cell.
Bb257477.methods(en-us,office.12).gif SetHeight Sets the height of table cells.
Bb257477.methods(en-us,office.12).gif SetWidth Sets the width of columns or cells in a table.
Bb257477.methods(en-us,office.12).gif Split Splits a range of table cells.

Properties

  Name Description
Bb257477.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257477.properties(en-us,office.12).gif Borders Returns a Borders collection that represents all the borders for the specified object.
Bb257477.properties(en-us,office.12).gif Count Returns the number of items in the Cells collection. Read-only Long.
Bb257477.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb257477.properties(en-us,office.12).gif Height Returns or sets the height of the specified table cells. Read/write Single.
Bb257477.properties(en-us,office.12).gif HeightRule Returns or sets a WdRowHeightRule constant that represents the rule for determining the height of the specified cells. Read/write .
Bb257477.properties(en-us,office.12).gif NestingLevel Returns the nesting level of the specified cells. Read-only Long.
Bb257477.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified Cells object.
Bb257477.properties(en-us,office.12).gif PreferredWidth Returns or sets the preferred width (in points or as a percentage of the window width) for the specified cells. Read/write Single.
Bb257477.properties(en-us,office.12).gif PreferredWidthType Returns or sets the preferred unit of measurement to use for the width of the specified cells. Read-only WdPreferredWidthType.
Bb257477.properties(en-us,office.12).gif Shading Returns a Shading object that refers to the shading formatting for the specified object.
Bb257477.properties(en-us,office.12).gif VerticalAlignment Returns or sets the vertical alignment of text in one or more cells of a table. Read/write WdCellVerticalAlignment.
Bb257477.properties(en-us,office.12).gif Width Returns or sets the width of the table cells, in points. Read/write Long.