Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 173
Default Refresh all Pivots and delete old background data

Hi, I have in excess of 20 pivot tables in my workbook that needs refreshing
and all old information taken out of them on a regular basis.
I have in amongst my code: ActiveWorkbook.RefreshAll and
PivotCache.MissingItemsLimit = xlMissingItemsNone against individual pivots.
Is there a piece of code that can get rid of all old data from all pivots in
one go as with the RefreshAll?
Help greatly appreciated
John

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,480
Default Refresh all Pivots and delete old background data

Hi John

Debra Dalgleish shows code to do this on her page at
http://www.contextures.com/xlPivot04.html

--
Regards
Roger Govier

"JohnUK" wrote in message
...
Hi, I have in excess of 20 pivot tables in my workbook that needs
refreshing
and all old information taken out of them on a regular basis.
I have in amongst my code: ActiveWorkbook.RefreshAll and
PivotCache.MissingItemsLimit = xlMissingItemsNone against individual
pivots.
Is there a piece of code that can get rid of all old data from all pivots
in
one go as with the RefreshAll?
Help greatly appreciated
John

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 173
Default Refresh all Pivots and delete old background data

Many thanks Roger

"Roger Govier" wrote:

Hi John

Debra Dalgleish shows code to do this on her page at
http://www.contextures.com/xlPivot04.html

--
Regards
Roger Govier

"JohnUK" wrote in message
...
Hi, I have in excess of 20 pivot tables in my workbook that needs
refreshing
and all old information taken out of them on a regular basis.
I have in amongst my code: ActiveWorkbook.RefreshAll and
PivotCache.MissingItemsLimit = xlMissingItemsNone against individual
pivots.
Is there a piece of code that can get rid of all old data from all pivots
in
one go as with the RefreshAll?
Help greatly appreciated
John

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
Query doesn't add/delete data in rows on refresh boreal Excel Discussion (Misc queries) 2 October 12th 12 09:34 PM
after external data refresh, Delete row of manual entries lschro Excel Discussion (Misc queries) 1 May 13th 09 06:16 PM
Background refresh not working GorKo Excel Programming 1 July 25th 07 06:00 AM
routine to refresh all pivots in WB acroos several sheets Todd F. Excel Discussion (Misc queries) 2 August 17th 05 12:56 PM
Pivots using other pivots and dynamic query problem lc Excel Programming 0 November 7th 03 03:02 PM


All times are GMT +1. The time now is 09:00 AM.

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

About Us

"It's about Microsoft Excel"