G Guest Nov 15, 2007 #1 Hi anyone How can I add the last saved date to a cell ref in excel? Thank you in advance
G Guest Nov 15, 2007 #2 Hi, Alt+F11 to open Vb editor. Double click 'This Workbook' and paste this in Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) Worksheets("Sheet1").Range("A1").Value = Now End Sub Mike
Hi, Alt+F11 to open Vb editor. Double click 'This Workbook' and paste this in Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) Worksheets("Sheet1").Range("A1").Value = Now End Sub Mike
G Guest Nov 15, 2007 #3 Thanks for replying Mike. Should I also add =lastsave() to A1 cell of Sheet1?
G Guest Nov 15, 2007 #4 Hi, You can add whatever text you want, the correct syntax is Worksheets("Sheet1").Range("A1").Value = "Last saved date " & Now Mike
Hi, You can add whatever text you want, the correct syntax is Worksheets("Sheet1").Range("A1").Value = "Last saved date " & Now Mike