Cells.VerticalAlignment Property
Word Developer Reference |
Returns or sets the vertical alignment of text in one or more cells of a table. Read/write WdCellVerticalAlignment.
Syntax
expression.VerticalAlignment
expression Required. A variable that represents a Cells collection.
Example
This example creates a 3x3 table in a new document and assigns a sequential cell number to each cell in the table. The example then sets the height of the first row to 20 points and vertically aligns the text at the top of the cells.
Visual Basic for Applications |
---|
|
See Also