Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Save Date
How can I update the value in a cell that represents the last date the
workbook was saved? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Save Date
On May 8, 3:40 pm, Marty wrote:
How can I update the value in a cell that represents the last date the workbook was saved? Try saving this in the code section of the ThisWorkbook object ... Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, _ Cancel As Boolean) ActiveWorkbook.Worksheets(1).Range("A2").Value = Now() End Sub Adjust the location to suit. HTH, Tom Lavedas =========== http://members.cox.net/tglbatch/wsh/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Last Save Date | Excel Discussion (Misc queries) | |||
Save Date | Excel Worksheet Functions | |||
Recovering File Info Specifically Save Date or Print Date | Excel Discussion (Misc queries) | |||
save as future date eg expected delivery date | Excel Discussion (Misc queries) | |||
save with date | Excel Programming |