Pivot Change event

  • Thread starter Thread starter Reney Langlois
  • Start date Start date
R

Reney Langlois

Is there a way I can capture a pivot table selection
change event in code? I have a chart sitting on a
spreadsheet next to a pivot table and I'd like to update
the chart title automatically when someone chooses a
different category in one of the drop down lists in the
pivot table.
 
In a cell on the worksheet, enter a formula to create the title you
want. For example: ="Sales for " &B1
where cell B1 is the category in the pivot table.

Then, select the Title in the Pivot Chart
Type an equal sign, and click on the cell where you entered the formula
The formula bar will show something similar to: =Pivot!$E$1

When you change the category in cell B1, the chart title will change.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top