+ Reply to Thread
Results 1 to 2 of 2

Printing the page properties as header

  1. #1
    r_najafi
    Guest

    Printing the page properties as header

    Is there any option to display the document properties in header or footer.
    thanks

  2. #2
    Bob Phillips
    Guest

    Re: Printing the page properties as header

    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




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1