The Cell Method

This method returns a Cell object that represents a cell in a table. The syntax is:

TableObject.Cell(Row, Column)

where Row and Column are Long integers that identify the particular cell. A Cell object can be used to format a given cell by adjusting such things as its text (through the Range property), its height, width, shading, and so on. The following is a complete list of the properties and methods of the Cell object:

Application

Height

RowIndex

AutoSum

HeightRule

Select

Borders

Merge

SetHeight

Column

Next

SetWidth

ColumnIndex

Parent

Shading

Creator

Previous

Split

Delete

Range

VerticalAlignment

Formula

Row

Width

Get Writing Word Macros, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.