Share via


PivotField.SubtotalName Property

Returns or sets the text string label displayed in the subtotal column or row heading in the specified PivotTable report. The default value is the string "Subtotal". Read/write String.

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

Syntax

'Declaration
Property SubtotalName As String
    Get
    Set
'Usage
Dim instance As PivotField
Dim value As String

value = instance.SubtotalName

instance.SubtotalName = value
string SubtotalName { get; set; }

Property Value

Type: System.String

See Also

Reference

PivotField Interface

PivotField Members

Microsoft.Office.Interop.Excel Namespace