Edit

Share via


Word.TableCellFormulaOptions interface

Represents the options for the TableCell.formula method.

Remarks

[ API set: WordApiDesktop 1.4 ]

Properties

formula

If provided, specifies 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. For more information about the = (Formula) field, see Field codes: = (Formula) field.

numFormat

If provided, specifies a format for the result of the = (Formula) field. For information about the types of formats you can apply, see the Numeric Picture (#) field switch.

Property Details

formula

If provided, specifies 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. For more information about the = (Formula) field, see Field codes: = (Formula) field.

formula?: string;

Property Value

string

Remarks

[ API set: WordApiDesktop 1.4 ]

numFormat

If provided, specifies a format for the result of the = (Formula) field. For information about the types of formats you can apply, see the Numeric Picture (#) field switch.

numFormat?: string;

Property Value

string

Remarks

[ API set: WordApiDesktop 1.4 ]