In another post Jason Morin provided this code:
Private Sub Workbook_BeforePrint(Cancel As Boolean)
Dim LastDate As String
Dim wbProp As String
wbProp = "last save time"
LastDate = ActiveWorkbook.BuiltinDocumentProperties(wbProp)
ActiveSheet.PageSetup.CenterHeader = LastDate
End Sub
This works great in the active workbook. How can this code be made available
to be used when needed in other workbooks?
--
maryj
Bookmarks