ListColumn.TotalsCalculation Property
Determines the type of calculation in the Totals row of the list column based on the value of the XlTotalsCalculation enumeration. Read/write.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property TotalsCalculation As XlTotalsCalculation
Get
Set
'Usage
Dim instance As ListColumn
Dim value As XlTotalsCalculation
value = instance.TotalsCalculation
instance.TotalsCalculation = value
XlTotalsCalculation TotalsCalculation { get; set; }
Property Value
Type: Microsoft.Office.Interop.Excel.XlTotalsCalculation
Remarks
The Totals row doesn't need to be showing in order to set this property. There is no fixed "default" value for this property. Excel may change the state of this property as other columns are added or deleted.