Linking worksheet time and date when saved

booiboa

New Member
Joined
Apr 1, 2002
Messages
25
hi,
I'm using excel for project reporting. each project member have their own workbook. I have a central workbook with links from the other with hours spent and so on.
But I also want to see when they last saved their file.
How do I do that?
//B
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
I think I found a solution myself. If I use
=TODAY() or =NOW() in one cell in each persons workbook, and in the main workbook just link in that cell from each person. That would update my main each time someone opens their workbook and do a save with the date/time when this was done...
Wouldn't it?

Anyway, great site this! A lot of new input and ideas!
 
Upvote 0
Hi

Not sure if you realise but these are Volatile functions and will update whenever any change is made.

What you could do is place this code in the Workbook(s) within the Private Module of the Workbook Object. To get there, right click on the Excel icon, top left next to "File" and select "View Code"

Code:
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Sheet1.Range("A1") = Now
End Sub



Now just link to this cell.
 
Upvote 0
Thanks for that!
Link to that cell, you say... Have I understood this correctly when I say that the row:
Sheet1.Range("A1")

states the coordinates of the cell?

Then I can say:
Sheet1.Range("K121")
or??

Thanks for your help and your time!!
/// Boo ///
 
Upvote 0

Forum statistics

Threads
1,213,585
Messages
6,114,514
Members
448,575
Latest member
hycrow

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top