ListColumn.TotalsCalculation property (Excel)

Determines the type of calculation in the Totals row of the list column based on the value of the XlTotalsCalculation enumeration. Read/write.

Syntax

expression.TotalsCalculation

expression A variable that represents a ListColumn object.

Remarks

The Totals row doesn't need to be showing 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.

Example

ActiveSheet.ListColumns(1).TotalsCalculation=xlTotalsCalculationSum

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.