#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Excel headers

I am trying to get a header in excel to reference to a cell in a different
sheet. Is that possible? Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Excel headers

Here is some VBA that will do it:

Sub UpdateHeader()
ActiveSheet.PageSetup.LeftHeader = Range("Sheet4!G2").Value
End Sub

See:
XL2000: How to Reference a Cell in the Header or Footer
http://support.microsoft.com/default.aspx/kb/273028

If new to VBA visit David McRitchie's site on "getting started" with VBA
http://www.mvps.org/dmcritchie/excel/getstarted.htm

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Karissa" wrote in message
...
I am trying to get a header in excel to reference to a cell in a different
sheet. Is that possible? Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 256
Default Excel headers

On Sep 12, 3:34 pm, Karissa wrote:
I am trying to get a header in excel to reference to a cell in a different
sheet. Is that possible? Thanks!


Supposing the cell on a different sheet is A1 and the different sheet
itself is called Sheet2, use this formula:

='Sheet2'!A1

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 256
Default Excel headers

Oh you meant page header, not column header... sorry.

On Sep 12, 4:18 pm, ilia wrote:
On Sep 12, 3:34 pm, Karissa wrote:

I am trying to get a header in excel to reference to a cell in a different
sheet. Is that possible? Thanks!


Supposing the cell on a different sheet is A1 and the different sheet
itself is called Sheet2, use this formula:

='Sheet2'!A1



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Excel headers

I do mean page header, sorry I wasn't clear. Does anyone know how to do that?

"ilia" wrote:

Oh you meant page header, not column header... sorry.

On Sep 12, 4:18 pm, ilia wrote:
On Sep 12, 3:34 pm, Karissa wrote:

I am trying to get a header in excel to reference to a cell in a different
sheet. Is that possible? Thanks!


Supposing the cell on a different sheet is A1 and the different sheet
itself is called Sheet2, use this formula:

='Sheet2'!A1






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Excel headers

Only with VBA as in my first message.
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Karissa" wrote in message
...
I do mean page header, sorry I wasn't clear. Does anyone know how to do
that?

"ilia" wrote:

Oh you meant page header, not column header... sorry.

On Sep 12, 4:18 pm, ilia wrote:
On Sep 12, 3:34 pm, Karissa wrote:

I am trying to get a header in excel to reference to a cell in a
different
sheet. Is that possible? Thanks!

Supposing the cell on a different sheet is A1 and the different sheet
itself is called Sheet2, use this formula:

='Sheet2'!A1






  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Excel headers

Thank you, I really appreciate your help!

"Bernard Liengme" wrote:

Only with VBA as in my first message.
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Karissa" wrote in message
...
I do mean page header, sorry I wasn't clear. Does anyone know how to do
that?

"ilia" wrote:

Oh you meant page header, not column header... sorry.

On Sep 12, 4:18 pm, ilia wrote:
On Sep 12, 3:34 pm, Karissa wrote:

I am trying to get a header in excel to reference to a cell in a
different
sheet. Is that possible? Thanks!

Supposing the cell on a different sheet is A1 and the different sheet
itself is called Sheet2, use this formula:

='Sheet2'!A1






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
headers in Excel DouglasGrantPhD Excel Discussion (Misc queries) 4 August 18th 07 03:46 PM
Excel Headers and Footers??? Katie Excel Discussion (Misc queries) 7 April 27th 05 05:48 PM
Headers in Excel rab Excel Discussion (Misc queries) 1 March 23rd 05 12:59 AM
Excel Headers Angelo Excel Discussion (Misc queries) 3 March 16th 05 12:46 PM
Excel Headers Angelo New Users to Excel 1 March 15th 05 10:52 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"