Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to insert page numbers in a file, not the header or footer | Excel Discussion (Misc queries) | |||
How can I insert the author name held in File/Properties in a cell | Excel Discussion (Misc queries) | |||
I want to insert the file properties into a cell for printing. | Excel Discussion (Misc queries) | |||
Can XLS automatically insert file properties fields into a header | Excel Worksheet Functions | |||
Auto Insert Page numbers without Footer | Excel Discussion (Misc queries) |