Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
r_najafi
 
Posts: n/a
Default Printing the page properties as header

Is there any option to display the document properties in header or footer.
thanks
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

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" wrote in message
...
Is there any option to display the document properties in header or

footer.
thanks



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
print page properties Rohullah Najafi Excel Discussion (Misc queries) 0 January 6th 05 02:41 PM
Excel Web Page Printing ClinicITguy1 Excel Discussion (Misc queries) 0 December 31st 04 05:15 PM
Default header in Excel under page set-up Melanie Excel Discussion (Misc queries) 2 December 15th 04 01:37 AM
print header or footer on first page only nadinep Excel Discussion (Misc queries) 2 December 11th 04 05:25 PM
Same Cell Header For Every Page localhost Excel Discussion (Misc queries) 1 November 26th 04 02:40 PM


All times are GMT +1. The time now is 05:57 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"