M Marty May 8, 2008 #1 How can I update the value in a cell that represents the last date the workbook was saved?
T T Lavedas May 8, 2008 #2 How can I update the value in a cell that represents the last date the workbook was saved? Click to expand... 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/
How can I update the value in a cell that represents the last date the workbook was saved? Click to expand... 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/