Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Including document property values in Excel headers

I am using Excel 2003 and trying to set up a template that has the header and
footer already configured, and include data found in the document properties
(e.g., Title, Subject, Creator) and hopefully custom properties like 'Client'
and 'Version' and 'Version Date'.

Can someone explain how to define the headers and footers to incorporate
such document property elements ?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Including document property values in Excel headers

Just to be clear, I am looking for a solution that doesn't require macros to
be written to set up the header/footer with this information. Looking for a
simple solution where the document properties can be accessed like in MS Word
and incorporated into the Excel header/footer.

Thanks.

"d_m_y" wrote:

I am using Excel 2003 and trying to set up a template that has the header and
footer already configured, and include data found in the document properties
(e.g., Title, Subject, Creator) and hopefully custom properties like 'Client'
and 'Version' and 'Version Date'.

Can someone explain how to define the headers and footers to incorporate
such document property elements ?

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Including document property values in Excel headers

You will need macros to return the information you want.

Sample code................

Sub Stuff_In_Footer()
With ActiveSheet.PageSetup
.LeftFooter = _
ThisWorkbook.BuiltinDocumentProperties("Title") & " " & _
ThisWorkbook.BuiltinDocumentProperties("Subject") & " " & _
ThisWorkbook.BuiltinDocumentProperties("Author") & " " & _
Format(ThisWorkbook.BuiltinDocumentProperties("Cre ation Date"), _
"yyyy-mmm-dd hh:mm:ss")
.LeftHeader = ThisWorkbook.CustomDocumentProperties("Client")
End With
End Sub


Gord Dibben MS Excel MVP

On Thu, 25 Sep 2008 15:58:01 -0700, d_m_y
wrote:

Just to be clear, I am looking for a solution that doesn't require macros to
be written to set up the header/footer with this information. Looking for a
simple solution where the document properties can be accessed like in MS Word
and incorporated into the Excel header/footer.

Thanks.

"d_m_y" wrote:

I am using Excel 2003 and trying to set up a template that has the header and
footer already configured, and include data found in the document properties
(e.g., Title, Subject, Creator) and hopefully custom properties like 'Client'
and 'Version' and 'Version Date'.

Can someone explain how to define the headers and footers to incorporate
such document property elements ?

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
Excel Chart Series Values Property Size Limitation Pete Charts and Charting in Excel 9 January 14th 08 03:03 PM
SeriesCollection Values Property Oddity Greg Wilson Charts and Charting in Excel 4 December 3rd 05 04:26 AM
Connect document properties to headers and footers Jeroen Excel Discussion (Misc queries) 1 October 31st 05 09:19 AM
List of property names and values for a given object. MichaelMalone Excel Worksheet Functions 0 September 16th 05 09:49 PM
Can you reference cell values in Headers and Footers in Excel 200. jkyte Excel Discussion (Misc queries) 2 December 30th 04 09:05 PM


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