Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Creating PivotCharts from PivotTables
Im having a problem creating a pie pivot chart from a pivot table on an
active sheet. I first select the range that I want to plot from inside the pivot table, and then add a chart to plot the selected field. The code Im using is as follows: Range(E7:19).Select Charts.Add ActiveChart.ChartType = xlPie The problem is that the pivot chart that is generated always plots another data field (i.e. the first field) in the pivot table, instead of the selected range that I specify. Is there a way to create a pivot chart from a pivot table and specify precisely what data field(s) you want to plot? If anyone has any ideas, I would greatly appreciate it. Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
PivotCharts and recalculating workbooks | Excel Discussion (Misc queries) | |||
Pivotcharts and stored procedures | Charts and Charting in Excel | |||
PivotCharts and series order | Charts and Charting in Excel | |||
Having an issue with some pivotcharts? | Charts and Charting in Excel | |||
PivotCharts, PivotTables, I'm going insane | Charts and Charting in Excel |