Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I am trying to display the date the file was last saved in the footer field.
the defualt date code displays the date the file was printed. I would appreciate any help with this. |
#2
![]() |
|||
|
|||
![]()
Hi kacate
Try http://www.rondebruin.nl/print.htm#Saved -- Regards Ron de Bruin http://www.rondebruin.nl "kacate" wrote in message ... I am trying to display the date the file was last saved in the footer field. the defualt date code displays the date the file was printed. I would appreciate any help with this. |
#3
![]() |
|||
|
|||
![]()
You would need an event macro, for the workbook inquestion press Alt + F8,
to the left in the project pane find the workbook and double click ThisWorkbook and paste in the following Private Sub Workbook_BeforePrint(Cancel As Boolean) With ActiveSheet .PageSetup.LeftFooter = "Document last saved on " & _ Format(ActiveWorkbook.BuiltinDocumentProperties("L ast Save Time"), _ "dd mmm yyyy hh:mm") End With End Sub press Alt + Q and save the workbook, if you only want the date and time and not last saved one remove "Document last saved on " & Regards, Peo Sjoblom "kacate" wrote: I am trying to display the date the file was last saved in the footer field. the defualt date code displays the date the file was printed. I would appreciate any help with this. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Read Text File into Excel Using VBA | Excel Discussion (Misc queries) | |||
I SAVED A FILE OVER ANOTHER A FILE IN EXCEL. THE OLD FILE WAS AN . | Excel Discussion (Misc queries) | |||
How do I insert an Excel file into a PowerPoint Presentation slid. | Excel Worksheet Functions | |||
How do I insert an Excel file into a PowerPoint Presentation slid. | Excel Discussion (Misc queries) | |||
Excel 2003 "File Open": how keep folders at top with sort by Date. | Excel Discussion (Misc queries) |