In my footer, I want to display the name of the person who last modified the
file, and the date & time it was saved. I also want the font size to be 20.
In plain english, it would read:
Last Modified by [last author] on dd-mmm-yyyy hh:mm:ss
If you can steer me to such an example, or write it here for me, I would
very much appreciate it.
THanks!
With ThisWorkbook
Sheets("Sheet1").PageSetup.LeftFooter = "Last modified by " & _
.BuiltinDocumentProperties("Last Author") & " on " & _
.BuiltinDocumentProperties("Last Save Time")
End With
--
HTH...
Jim Thomlinson
sorry, this doesn't seem to be working for me, but I have not programmed
much, so perhaps I am not changing the sheet reference correctly?? I'd like
this to run on all sheets in the workbook.
http://www.rondebruin.nl/print.htm#Saved
--
Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm
"hspence" <hsp...@discussions.microsoft.com> wrote in message news:B577AB36-A652-4BEC...@microsoft.com...
Again, thanks.
Private Sub Workbook_BeforePrint(Cancel As Boolean)
Dim wkSht As Worksheet
For Each wkSht In ThisWorkbook.Worksheets
wkSht.PageSetup.RightFooter = ("&20Last Saved or Modified by ") & _
(Format(ThisWorkbook.BuiltinDocumentProperties("Last Author"))) &
("&20 on ") & _
(Format(ThisWorkbook.BuiltinDocumentProperties("Last Save Time")))
Next wkSht
End Sub