PC Review


Reply
Thread Tools Rate Thread

Can you reference cell values in Headers and Footers in Excel 200.

 
 
=?Utf-8?B?amt5dGU=?=
Guest
Posts: n/a
 
      30th Dec 2004
I want to customize my Header on an Excel spreadsheet to include the value
conatined in certain cells on my worksheet such that I will not have to
change the header every time I change the value of the referenced cell. Does
anyone know how to do this?
 
Reply With Quote
 
 
 
 
Frank Kabel
Guest
Posts: n/a
 
      30th Dec 2004
Hi
only possible with VBA using an event procedure. e.g. put the following
code
in your workbook module for cell A1
Private Sub Workbook_BeforePrint(Cancel As Boolean)
Dim wkSht As Worksheet
For Each wkSht In Me.Worksheets
With wkSht.PageSetup
.CenterFooter = wksht.range("A1").value
End With
Next wkSht
End Sub

--
Regards
Frank Kabel
Frankfurt, Germany
"jkyte" <(E-Mail Removed)> schrieb im Newsbeitrag
news:41AE5BD7-5B23-4F12-AE28-(E-Mail Removed)...
>I want to customize my Header on an Excel spreadsheet to include the value
> conatined in certain cells on my worksheet such that I will not have to
> change the header every time I change the value of the referenced cell.
> Does
> anyone know how to do this?



 
Reply With Quote
 
=?Utf-8?B?amt5dGU=?=
Guest
Posts: n/a
 
      30th Dec 2004
Thanks

"Frank Kabel" wrote:

> Hi
> only possible with VBA using an event procedure. e.g. put the following
> code
> in your workbook module for cell A1
> Private Sub Workbook_BeforePrint(Cancel As Boolean)
> Dim wkSht As Worksheet
> For Each wkSht In Me.Worksheets
> With wkSht.PageSetup
> .CenterFooter = wksht.range("A1").value
> End With
> Next wkSht
> End Sub
>
> --
> Regards
> Frank Kabel
> Frankfurt, Germany
> "jkyte" <(E-Mail Removed)> schrieb im Newsbeitrag
> news:41AE5BD7-5B23-4F12-AE28-(E-Mail Removed)...
> >I want to customize my Header on an Excel spreadsheet to include the value
> > conatined in certain cells on my worksheet such that I will not have to
> > change the header every time I change the value of the referenced cell.
> > Does
> > anyone know how to do this?

>
>
>

 
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
Headers & Footers _auto update info from a cell in the worksheet N Walton Microsoft Excel Misc 4 17th Jul 2009 02:36 PM
Footers/Headers in Excel =?Utf-8?B?c2xz?= Microsoft Excel Misc 1 15th Sep 2005 04:28 PM
How do I make all the headers/footers use one reference? =?Utf-8?B?aWJzODE=?= Microsoft Word Document Management 2 14th Jun 2005 11:27 PM
Cell headers and footers in tables FP 2003 =?Utf-8?B?TUZvZ2Vs?= Microsoft Frontpage 5 7th Feb 2004 11:26 AM
Cell Values in Headers & Footers =?Utf-8?B?TWljYWggSg==?= Microsoft Excel Misc 1 14th Nov 2003 01:59 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:01 PM.