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)
Usage
Dim cell1 As Cell
cell1.AutoSum()
Syntax
Sub AutoSum()
void AutoSum();
public: Void AutoSum();
public void AutoSum();
function AutoSum();
Remarks
For information about how Microsoft Word determines which values to add, see the Formula method.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Cell Interface
Microsoft.Office.Interop.Word Namespace