Belešku
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da se prijavite ili da promenite direktorijume.
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da promenite direktorijume.
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.
Syntax
expression.SubtotalName
expression A variable that represents a PivotField object.
Example
This example sets the subtotal label to Regional Subtotal (instead of the default string Subtotal) in the state field in the second PivotTable report on the active worksheet.
ActiveSheet.PivotTables("PivotTable2") _
.PivotFields("state").SubtotalName = "Regional Subtotal"
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.