hi, i want to know whether there is any formula for displaying the last date & time of the file saved.
hi, i want to know whether there is any formula for displaying the last date & time of the file saved.
THANKS
ExcelKeechak
A UDF is required for this.
Place this in a Normal VBA Module
Then in excel enter the formula![]()
Please Login or Register to view this content.
=ModDate()
Ok.Thanks for the solution.
Hmmm any other alternate for this using formula
hello davesexcel,i had a little problem with the solution.its not updating the time of last saved.When ever i Save the file>> Close it >>> Re-open it>>.its showing the first saved time only.I think it should show the new changes also dynamically.plz help
If there is a Built in worksheet function, I can't find it.
The function has to be initiated each time the workbook is opened, possibly using this
=moddate()+0*NOW()
The Now() will ensure the worksheet calculates, updating the moddate.
Dave, if you combine it with NOW(), wouldn't that produce the same effect as using Application.Volatile in the function?
To tell the truth, I thought it was in there, but just not working![]()
Please Login or Register to view this content.
Although these seem to work even this would work to get the time last modified.
This is macro driven so just run the macro to get the last date modified.![]()
Please Login or Register to view this content.
Running the macro or using the UDF the workbook would be considered changed, and want to save, even if you did not make any real changes.
Placing this code in the Workbook_BeforeSave may be a better idea
or another option is to decide if you want to record the time when you close the workbook![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Hi,
Maybe one of these might help?
http://excel.tips.net/Pages/T002190_..._a_Footer.html
http://excel.tips.net/Pages/T003352_...st_Edited.html
oldchippy
-------------
![]()
![]()
Blessed are those who can give without remembering and take without forgetting
If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.
Click here >>> Top Excel links for beginners to Experts
Forum Rules >>>Please don't forget to read these
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks