Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Charting / May 2004

Tip: Looking for answers? Try searching our database.

Pivot chart, automatic refresh

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
VILLABILLA - 27 May 2004 14:06 GMT
Dear All,

I have a pivot table with pivot chart, I have to press the re
exclamation mark to refresh the chart and table every time I want th
situation to be updated.

Is there a way that it updates itself at every change that occurs? An
how could I switch that auto-refresh function (if it excists) on an
off?

Your help would be very much appreciated

--
Message posted from http://www.ExcelForum.com
Jon Peltier - 27 May 2004 17:31 GMT
This is an acknowledged issue with pivot tables and pivot charts. When
they are refreshed, any custom formatting is lost. You can read about it
here:

XL2000: Changing a PivotChart Removes Series Formatting (215904)
  http://support.microsoft.com/?id=215904

Microsoft suggests recording a macro when you reformat the chart by
hand, then using the macro to reformat the chart in the future.

I prefer to make regular charts with pivot table data. You lose a little
interactivity, but you avoid the formatting issue, and you don't
sacrifice lots of other features that pivot charts don't have.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

> Dear All,
>
[quoted text clipped - 10 lines]
> ---
> Message posted from http://www.ExcelForum.com/
Debra Dalgleish - 27 May 2004 22:36 GMT
You could use the Worksheet_Activate or Chart_Activate events to refresh
the pivot tables. For example:

Private Sub Chart_Activate()
  ActiveChart.PivotLayout _
    .PivotTable.RefreshTable
End Sub

Private Sub Worksheet_Activate()
  ActiveSheet.PivotTables(1).RefreshTable
End Sub

To use this code, right-click on the sheet tab, and choose View Code.
Copy and paste the Chart code onto the Chart sheet's module.
Copy and paste the Worksheet code onto the PivotTable sheet's module.

> Dear All,
>
[quoted text clipped - 10 lines]
> ---
> Message posted from http://www.ExcelForum.com/

Signature

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

VILLABILLA - 28 May 2004 12:18 GMT
Thanks you both for sharing your ideas with me, I will have to try i
out to see what would be best for me...

Have a nice weekend

--
Message posted from http://www.ExcelForum.com
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.