Table Suite
518
Command: distribute row height
Adjusts the height of the specified rows or cells so that they're equal.
Syntax
distribute row height row options Required. An expression that returns a row options object.
Example
This example adjusts the height of the rows in the first table in the active document so that they're
equal.
distribute row height row options of table 1 of active document
Command: distribute width
Adjusts the width of the specified columns or cells so that they're equal.
Syntax
distribute width column options Required. An expression that returns a column options object.
Example
This example adjusts the width of the columns in the first table in the active document so that
they're equal.
distribute width column options of table 1 of active document
Command: formula
Inserts an = (Formula) field that contains the specified formula into a table cell.
Syntax
formula cell Required. An expression that returns a cell object.
[formula string Unicode text] Optional. The mathematical formula you want the = (Formula)
field to evaluate. Spreadsheet-type references to table cells are valid. For example,
"=SUM(A4:C4)" specifies the first three values in the fourth row.
[number format string Unicode text] Optional. A format for the result of the = (Formula) field.
Formula string is optional as long as there is at least one cell that contains a value above or to the
left of the cell that contains the insertion point. If the cells above the insertion point contain values,
the inserted field is {=SUM(ABOVE)}; if the cells to the left of the insertion point contain values, the
inserted field is {=SUM(LEFT)}. If both the cells above the insertion point and the cells to the left of
the insertion point contain values, Word uses the following rules to determine which SUM function
to insert:
·
If the cell immediately above the insertion point contains a value, Word inserts
{=SUM(ABOVE)}.
·
If the cell immediately above the insertion point doesn't contain a value and the cell
immediately to the left of it does, Word inserts {=SUM(LEFT)}.
·
If neither adjoining cell contains a value, Word inserts {=SUM(ABOVE)}.
·
If you don't specify formula string and all the cells above and to the left of the insertion point
are empty, the result of the field is an error.