file saved

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does anyone have a macro for excel that puts the time the fill was lasted
saved in a cell?
 
hi
In the workbooks before save event add the following code

Private Sub Workbook_BeforeSave(Cancel As Boolean)
Sheets("yoursheet").Range("A1").FormulaR1C1 = Now()
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top