Home |
Search |
Today's Posts |
#2
![]() |
|||
|
|||
![]()
Private Sub Workbook_BeforePrint(Cacel As Boolean)
With ActiveWorkbook .ActiveSheet.PageSetup.LeftHeader = "Last saved on: " & _ Format(.BuiltinDocumentProperties("Last Save Time"), "dd mmm yyyy") End With End Sub goes in the ThisWorkbook code module. Watch the wrap-around on the Format line -- HTH RP (remove nothere from the email address if mailing direct) "Thanga" wrote in message ... I need to get in header the date when the excel document have last modified. I tried using &[Date] this brings the current date when we open the doc. Kindly suggest good way of doing this. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Date modified within Spreadsheet | Excel Discussion (Misc queries) | |||
insert the date the file was last modified | Excel Discussion (Misc queries) | |||
Sheet Modified date in a cell.. ? | Excel Worksheet Functions | |||
How do I enter the date last modified in the footer of an Excel d. | Excel Discussion (Misc queries) | |||
Modified Date | New Users to Excel |