Is there a way to display when a document was last saved in a foot

J

Jeff

I am trying to add a footer that shows when the last time the document was
saved. Is there a way to do this?
 
J

Jason Morin

Private Sub Workbook_BeforePrint(Cancel As Boolean)
With ActiveWorkbook
.ActiveSheet.PageSetup.CenterFooter = _
.BuiltinDocumentProperties("Last Save Time")
End With
End Sub

---
Place in ThisWorkbook module.

HTH
Jason
Atlanta, GA
 

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

Top