Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default Display date modified

Is there a formula that displays the date the file was last modified. I
would like a formula similar to the =now() function, except it displays the
date the file was last modified (as shown in properties).
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Display date modified


'-----------------------------------------------------------------
Function DocProps(prop As String)
'-----------------------------------------------------------------
Application.Volatile
On Error GoTo err_value
DocProps = ActiveWorkbook.BuiltinDocumentProperties _
(prop)
Exit Function
err_value:
DocProps = CVErr(xlErrValue)
End Function


and enter in a cell such as
=DocProps ("last author")
or
=DocProps ("last save time")


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Curious" wrote in message
...
Is there a formula that displays the date the file was last modified. I
would like a formula similar to the =now() function, except it displays

the
date the file was last modified (as shown in properties).
Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 268
Default Display date modified

In the cell you want the message displayed enter the formula -
=TODAY()
Format that cell as custom and, in 'type', enter
"The message you want displayed" dd/mm/yyyy

You will also need to make sure the spreadsheet is updated manually. To do
this-
Click on <Tools<Options<Calculations<Manual

Regards.

Bill Ridgeway
Computer Solutions

"Curious" wrote in message
...
Is there a formula that displays the date the file was last modified. I
would like a formula similar to the =now() function, except it displays
the
date the file was last modified (as shown in properties).
Thanks



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
Date display new2XL Excel Discussion (Misc queries) 1 June 14th 06 04:33 PM
How to return a value between date ranges Mary-Lou Excel Worksheet Functions 7 May 26th 06 10:00 PM
NETWORKDAYS - Multiple Date Selection Annabelle Excel Discussion (Misc queries) 3 October 4th 05 07:04 PM
i want to display the month from a date into another cell weazal5 Excel Worksheet Functions 1 April 26th 05 08:51 AM
Modified Date DME New Users to Excel 11 December 14th 04 07:15 PM


All times are GMT +1. The time now is 04:59 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"