![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 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 |
|
|
|
|
|
#2 |
|
New Member
Join Date: Apr 2002
Posts: 25
|
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! |
|
|
|
|
|
#3 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
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. |
|
|
|
|
|
#4 |
|
New Member
Join Date: Apr 2002
Posts: 25
|
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 /// |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|