#1   Report Post  
Posted to microsoft.public.excel.misc
Ben Ben is offline
external usenet poster
 
Posts: 5
Default Last Save Date

Is there a formula to capture Last Save Date in a cell?

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Last Save Date

Right click the excel icon in the upper left next to "file" and insert this.
Chg to suitSAVE

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
Boolean)
Sheets("sheet1").Range("a1") = Date
End Sub


--
Don Guillett
SalesAid Software

"Ben" wrote in message
oups.com...
Is there a formula to capture Last Save Date in a cell?

Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Last Save Date

Ben

First off.........save a backup of your workbook.

Then use this User Defined Function which you copy to a general module in your
workbook.

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

'=DOCPROPS("last author")
'or
'=DOCPROPS("last save time")
'or
'DOCPROPS("creation date")

For a list of other properties that may be available(not all are), run this
macro.

Sub props()
rw = 1
Worksheets.Add
For Each p In ActiveWorkbook.BuiltinDocumentProperties
Cells(rw, 1).Value = p.Name
rw = rw + 1
Next
End Sub


Gord Dibben MS Excel MVP

On Thu, 28 Jun 2007 08:01:48 -0700, Ben wrote:

Is there a formula to capture Last Save Date in a cell?

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
save as future date eg expected delivery date ryan Excel Discussion (Misc queries) 0 June 21st 07 03:35 PM
add a date that changes only when I save the doc. lauras03 Excel Worksheet Functions 1 February 16th 07 08:47 PM
Save Date & Time mickey Excel Worksheet Functions 3 January 7th 07 02:09 PM
Date each active tab upon save Ken King Excel Discussion (Misc queries) 3 October 31st 06 01:13 AM
Excel :Save date function Elodie Excel Worksheet Functions 1 November 25th 04 04:25 PM


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