Is there any option to display the document properties in header or footer.
thanks
Is there any option to display the document properties in header or footer.
thanks
This prints the last saved time in the header.
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
--
HTH
RP
(remove nothere from the email address if mailing direct)
"r_najafi" <[email protected]> wrote in message
news:[email protected]...
> Is there any option to display the document properties in header or
footer.
> thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks