ListObject::TotalsRowRange Property

 

Gets a Range that represents the Total row of the ListObject control.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

property Range^ TotalsRowRange {
	Range^ get();
}

Property Value

Type: Microsoft.Office.Interop.Excel::Range^

A Range that represents the Total row of the ListObject control.

This property returns a Range only if the Total row is showing in the ListObject control. If the Total row is not showing, it returns null.

The following code example creates a DataTable and a ListObject, and binds the ListObject to the DataTable. It then gets the range that contains the Total row and changes the Total row font to italic.

This example is for a document-level customization.

No code example is currently available or this language may not be supported.
Return to top
Show: