Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default PivotTable: RefreshTime vs. ChangedTime

Greetings All,

I am only interested in refreshing the pivottable when a change occurs in
the data source and upon activation of the sheet where the pivot table lies
in. I don't want to automatic reflect the changes to the pivottable, heres
is what my goal is:

I am stuck in putting together a code (in activate the sheet event) that
checks when was the last time the pivotable was refreshed and compares that
with the last time the source data was changed. I was able to do a timestamp
on the source if any changes where detected (called it 'changed').
What I need is to set up another Date variable in the activate sheet event
procedure (maybe a Static variable) to check if the 'Changed time' is newer
than 'Refresh' time then refresh.

I really appreciate your help on this important issue.

Thanks,
Sam


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
pivottable bug Robin Krupp Excel Worksheet Functions 5 September 16th 09 06:42 AM
Creating a PivotTable w/o selecting data in an existing PivotTable Damian Excel Discussion (Misc queries) 6 November 2nd 07 04:44 PM
PivotTable vicky Excel Discussion (Misc queries) 3 August 10th 06 05:27 AM
Pivottable johnb Charts and Charting in Excel 0 November 29th 05 10:53 AM
PivotTable Marek G Excel Discussion (Misc queries) 1 May 7th 05 12:50 AM


All times are GMT +1. The time now is 09:23 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"