PivotTable.Tag property (Excel)

Returns or sets a string saved with the PivotTable report. Read/write String.

Syntax

expression.Tag

expression A variable that represents a PivotTable object.

Example

This example sets the PivotTable report's Tag property.

Worksheets(1).PivotTables("Pivot1").Tag = "Product Sales by Region"

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.