Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 59
Default How to insert File Properties into the page footer

Hi,

Is it possible to insert automatically whatever value is under File
Properties Subject to the page footer?

Something like, for instance to insert file path you would go by using
&[File] or for sheet name you would use &[Tab], So is there any such way, or
workaround for file properties (Subject Field)?

Your help is much appreciated,
Adnan

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default How to insert File Properties into the page footer

Private Sub Workbook_BeforePrint(Cancel As Boolean)
With ActiveSheet.PageSetup
.leftfootere = ActiveWorkbook.BuiltinDocumentProperties("Subject" )
End With
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code

--
__________________________________
HTH

Bob

"Adnan" (donotspam) wrote in message
...
Hi,

Is it possible to insert automatically whatever value is under File
Properties Subject to the page footer?

Something like, for instance to insert file path you would go by using
&[File] or for sheet name you would use &[Tab], So is there any such way,
or
workaround for file properties (Subject Field)?

Your help is much appreciated,
Adnan



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 59
Default How to insert File Properties into the page footer

Bob,

It worked. Thank you so much!
Adnan


"Bob Phillips" wrote:

Private Sub Workbook_BeforePrint(Cancel As Boolean)
With ActiveSheet.PageSetup
.LeftFooter = ActiveWorkbook.BuiltinDocumentProperties("Subject" )
End With
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code

--
__________________________________
HTH

Bob

"Adnan" (donotspam) wrote in message
...
Hi,

Is it possible to insert automatically whatever value is under File
Properties Subject to the page footer?

Something like, for instance to insert file path you would go by using
&[File] or for sheet name you would use &[Tab], So is there any such way,
or
workaround for file properties (Subject Field)?

Your help is much appreciated,
Adnan




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
How to insert page numbers in a file, not the header or footer Jay Meza Excel Discussion (Misc queries) 1 June 1st 07 03:17 PM
How can I insert the author name held in File/Properties in a cell Lubka Excel Discussion (Misc queries) 1 April 17th 07 02:37 PM
I want to insert the file properties into a cell for printing. Felicity Excel Discussion (Misc queries) 1 February 5th 07 05:59 PM
Can XLS automatically insert file properties fields into a header Margaret Johnson Excel Worksheet Functions 1 June 1st 06 03:43 AM
Auto Insert Page numbers without Footer Keith Excel Discussion (Misc queries) 2 April 28th 06 09:35 PM


All times are GMT +1. The time now is 02:07 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"