Re: Inserting the date that an excel sheet is saved into a cell
From: Bob Phillips (bob.phillips_at_notheretiscali.co.uk)
Date: 01/06/05
- Next message: JulieD: "Re: Extracting Values on one list and not another"
- Previous message: Gary Brown: "RE: I used Save instead of Save As in Excel. How can I get my origin."
- In reply to: sharock: "Inserting the date that an excel *** is saved into a cell"
- Next in thread: Gary Brown: "RE: Inserting the date that an excel *** is saved into a cell"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 6 Jan 2005 18:53:00 -0000
You will need a UDF
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") for the author
or
=DocProps ("last save time") for the last saved date, format the cell as
date
-- HTH RP (remove nothere from the email address if mailing direct) "sharock" <sharock@discussions.microsoft.com> wrote in message news:3F96AEFE-A2EE-4AF1-8FDE-5D1E6636A38D@microsoft.com... > I need to insert the last saved (last updated) date into my excel ***. Is > there a way to do this? It can be done in MS Project and MS Word.
- Next message: JulieD: "Re: Extracting Values on one list and not another"
- Previous message: Gary Brown: "RE: I used Save instead of Save As in Excel. How can I get my origin."
- In reply to: sharock: "Inserting the date that an excel *** is saved into a cell"
- Next in thread: Gary Brown: "RE: Inserting the date that an excel *** is saved into a cell"
- Messages sorted by: [ date ] [ thread ]