PC Review


Reply
Thread Tools Rate Thread

Custom File Properties

 
 
Ade Hodgetts
Guest
Posts: n/a
 
      2nd Apr 2008
Can I add Custom File Properties into Header and Footer information. eg
&[Tab] but I need to add client info, etc that comes from Templates I have
set


--
Wise and Stupid at the same time!!
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      2nd Apr 2008
Yes, if you use code.

Look at CustomDocumentProperties in VBA's help.

You could extract the property by using its name and then plop it into the
header/footer (also using code).

Ade Hodgetts wrote:
>
> Can I add Custom File Properties into Header and Footer information. eg
> &[Tab] but I need to add client info, etc that comes from Templates I have
> set
>
> --
> Wise and Stupid at the same time!!


--

Dave Peterson
 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      2nd Apr 2008
Sub Print_Custom_Props()
With ActiveSheet
j = ThisWorkbook.CustomDocumentProperties("Client").Value
n = ThisWorkbook.CustomDocumentProperties("Editor").Value
ActiveSheet.PageSetup.RightHeader = "Client Name " & j
ActiveSheet.PageSetup.LeftHeader = "Editor " & n
End With
ActiveSheet.PrintPreview
End Sub


Gord Dibben MS Excel MVP


On Wed, 2 Apr 2008 11:19:01 -0700, Ade Hodgetts
<(E-Mail Removed)> wrote:

>Can I add Custom File Properties into Header and Footer information. eg
>&[Tab] but I need to add client info, etc that comes from Templates I have
>set


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom File Properties on Custom files Wezb Windows Vista 0 11th Apr 2008 02:09 PM
Custom File Properties jujuwillis Microsoft Excel Misc 1 1st Aug 2005 04:18 PM
custom file properties =?Utf-8?B?ZnJpenp5?= Microsoft Word Document Management 0 15th Jan 2005 01:23 AM
File Properties-Custom tab Deborah Mowry Microsoft Word Document Management 2 3rd Sep 2004 03:59 PM
File Custom properties Fred Microsoft VB .NET 3 27th Nov 2003 03:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:15 PM.