ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Is there a way to display when a document was last saved in a foot (https://www.excelbanter.com/excel-worksheet-functions/9553-there-way-display-when-document-last-saved-foot.html)

Jeff

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

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


-----Original Message-----
I am trying to add a footer that shows when the last

time the document was
saved. Is there a way to do this?
.



All times are GMT +1. The time now is 09:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com