Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Pivot Change event

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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default Pivot Change event

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.

Reney Langlois wrote:
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.



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chart Values that change based on Change event ExcelMonkey[_119_] Excel Programming 1 May 15th 04 03:43 AM
Change minimumscale with the change event of a combobox Herbert Chan Excel Programming 1 April 11th 04 12:43 PM
On change event raj Excel Programming 3 December 10th 03 04:23 AM
change event/after update event?? scrabtree23[_2_] Excel Programming 1 October 20th 03 07:09 PM
How do I get Pivot filter change event to fire? Claude Excel Programming 4 August 15th 03 10:24 PM


All times are GMT +1. The time now is 07:39 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"