LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Kim Kim is offline
external usenet poster
 
Posts: 284
Default Last Saved Date and Time

I created a function in Excel to display the "Last Saved Date and Time" in a
cell. The code is as follows:

<
Function LastSaved( )
LastSaved = ActiveWorkbook.BuiltinDocumentProperties.Item(12)
End Function


After saving the modified file, the cell displays the "Last Saved Date and
Time". I tried to modify the file another time and saved it. The cell however
does not change to the new date and time. But this was reflected under the
File - Properties - Statistics.

How can I update the cell to continuous display the right date and time
whenever the "Save" button is clicked ?
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel should have a function for last date and time file was saved fwbuckley Excel Worksheet Functions 11 August 15th 07 11:04 PM
Query to find last saved date/Time Dean Excel Worksheet Functions 2 May 11th 06 09:33 AM
How to have:= NOW () date/time change only if updated and saved Bob Provis Excel Worksheet Functions 2 August 7th 05 10:47 AM
How do I put a "date & time saved" stamp inside an Excel Wksht? Bill Excel Programming 1 May 12th 05 05:03 PM
How do I put a "date & time saved" stamp inside an Excel Wksht? Mangesh Yadav[_2_] Excel Programming 0 May 10th 05 12:20 PM


All times are GMT +1. The time now is 10:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"