PC Review


Reply
Thread Tools Rate Thread

Date of last refresh?

 
 
=?Utf-8?B?Um9iaW4gRw==?=
Guest
Posts: n/a
 
      26th Jun 2007
Is there a function that will return the date of the last refresh?

I have a spreadsheet that with many users. It would be helpful if the user
could tell when the last refresh occured to know whether they need to refresh
the data before using it.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?U2hhbmVEZXZlbnNoaXJl?=
Guest
Posts: n/a
 
      26th Jun 2007
Hi,

By refresh you mean? Pivot Table refresh, or spreadsheet recalculation or
the spreadsheet has changed or the spreadsheet has been saved?

In either case you can run a VBA macro to do this.

Private Sub Workbook_SheetCalculate(ByVal Sh As Object)
Sheets(1).Range("A1")= Now
End Sub

Private Sub Workbook_SheetPivotTableUpdate(ByVal Sh As Object, ByVal Target
As PivotTable)
Sheets(1).Range("A1")= Now
End Sub

Private Sub Workbook_Open()
Sheets(1).Range("A1")= Now
End Sub

Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
Sheets(1).Range("A1")= Now
End Sub

Cheers,
Shane Devenshire


"Robin G" wrote:

> Is there a function that will return the date of the last refresh?
>
> I have a spreadsheet that with many users. It would be helpful if the user
> could tell when the last refresh occured to know whether they need to refresh
> the data before using it.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Cube refresh Date Reeza Microsoft Excel Misc 0 11th May 2010 06:19 PM
QueryTable Last Refresh Date? LCK Microsoft Excel Programming 0 28th Nov 2007 05:46 PM
Re: Refresh Date Label Simon Hart Microsoft Dot NET Compact Framework 0 9th Jul 2006 04:53 PM
Add Refresh date =?Utf-8?B?U3Vl?= Microsoft Excel Misc 1 24th Apr 2006 06:49 PM
no date refresh RichardO Microsoft Excel Worksheet Functions 1 21st May 2004 07:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:20 PM.