Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default show date modified in a cell

How can I get the modification date of a file to display in a worksheet cell?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default show date modified in a cell

There is nothing built inot Excel to do this. Place this code in a VB module
(let me know if you need help with this) in the spreadsheet you need the last
saved date in.

Public Function LastSaved()
LastSaved = ThisWorkbook.BuiltinDocumentProperties("Last Save Time")

End Function

In any cell you can now use the formula

=LastSaved()

and the last saved date and time will be displayed (make sure to format the
cell as date).

HTH

"Lana" wrote:

How can I get the modification date of a file to display in a worksheet cell?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default show date modified in a cell

This worked perfectly, thank you very much!!!
Reply
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
automatically show modified date? Tacrier Excel Worksheet Functions 2 August 7th 08 04:52 PM
Display a Date when a cell is Modified Sean Excel Worksheet Functions 2 July 15th 08 09:16 PM
how to show the date a spreadsheet was modified in a cell k2224z Excel Discussion (Misc queries) 1 August 28th 06 11:25 PM
Show date cell modified manxman Excel Worksheet Functions 3 March 22nd 06 11:48 PM
In adjacent cell, show last date modified of target cell. manxman Excel Discussion (Misc queries) 0 March 17th 06 10:47 PM


All times are GMT +1. The time now is 06:18 PM.

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

About Us

"It's about Microsoft Excel"