Share via


Cell.AutoSum Method

Inserts an = (Formula) field that calculates and displays the sum of the values in table cells above or to the left of the cell specified in the expression.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub AutoSum
'Usage
Dim instance As Cell

instance.AutoSum()
void AutoSum()

Remarks

For information about how Microsoft Word determines which values to add, see the Formula method.

See Also

Reference

Cell Interface

Cell Members

Microsoft.Office.Interop.Word Namespace