A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi,
To modify a workbook you have to save it so we can use the before_save event
ALY+F11 to open vb editor. Double click 'ThisWorkbook' and paste this code in on the right. Change the sheet and range to suit
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Sheets("Sheet1").Range("A1").Value = Now
End Sub
If this post answers your question, please mark it as the Answer.
Mike H