We help IT Professionals succeed at work.
Get Started

"With Events" class to capture "After Pivot Table Refresh" event

Davisron867
Davisron867 asked
on
1,218 Views
Last Modified: 2012-05-09
Experts, Masters and Sages: Is there a way to create an After Pivot Table Refresh event (not Query Refresh) to fire additional code afterwards?

I have multiple users working in local Read Only copies of an Excel file with Pivot Tables sourcing an Access table. Users refresh their Pivot Tables using the Excel Menu or Context Menu.

After the Pivot refresh, I'll fire additional code to update a "Last Refresh Timestamp" that I compare to the "Data Source Timestamp". When Data Source is updated, the Data Source Timestamp > Last Refresh Timestamp and causes formula "=If(Last refresh > Data Source, "", "Update Available")" to display "Update Available".

When users subsequently Refresh, I want the code to update the last refresh Timestamp and the formula then returns a 0-length string and the notification goes away.

I did ask the question recently but accepted an incorrect answer, ID: 26237589
Comment
Watch Question
CERTIFIED EXPERT
Top Expert 2010
Commented:
This problem has been solved!
Unlock 1 Answer and 7 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE