ChartThisPivot (Method)

Applies To:

PivotSection object

Description:

Creates a Chart section using criteria defined in a Pivot section.

Syntax:

Expression.ChartThisPivot()

Expression Required:

An expression that returns an object for the Chart section

Example:

This example shows how to chart a Pivot section and change the chart display settings:

MyChart = ActiveDocument.Sections["Pivot"].ChartThisPivot()
MyChart.Title = "Chart Created from Pivot"