Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 67
Default Cell reference in header

I'm sure there is a way of doing this but I haven't been able to figure it
out ...

I want to include some variable text in a sheet header - the text being
contained in a cell within the same workbook. I can find ways of including
the sheet name or file name in the header but not a specific cell's
contents.

Can somebody point me in the right direction?

Thanks.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Cell reference in header

Terry

Sub CellInFooter()
With ActiveSheet
.PageSetup.CenterHeader = .Range("A1").Value
End With
End Sub


Gord Dibben MS Excel MVP

On Thu, 6 Sep 2007 22:00:29 +0100, "Terry Bennett"
wrote:

I'm sure there is a way of doing this but I haven't been able to figure it
out ...

I want to include some variable text in a sheet header - the text being
contained in a cell within the same workbook. I can find ways of including
the sheet name or file name in the header but not a specific cell's
contents.

Can somebody point me in the right direction?

Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 67
Default Cell reference in header

Many thanks Gord!


"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Terry

Sub CellInFooter()
With ActiveSheet
.PageSetup.CenterHeader = .Range("A1").Value
End With
End Sub


Gord Dibben MS Excel MVP

On Thu, 6 Sep 2007 22:00:29 +0100, "Terry Bennett"

wrote:

I'm sure there is a way of doing this but I haven't been able to figure it
out ...

I want to include some variable text in a sheet header - the text being
contained in a cell within the same workbook. I can find ways of
including
the sheet name or file name in the header but not a specific cell's
contents.

Can somebody point me in the right direction?

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
reference cell in header Steve_n_KC Excel Worksheet Functions 0 May 17th 07 12:37 AM
adding cell reference on a header Sima Excel Worksheet Functions 4 March 29th 07 07:14 PM
cell reference in header Dana Excel Discussion (Misc queries) 3 January 30th 07 09:39 PM
cell reference in header row ML Excel Discussion (Misc queries) 4 August 26th 05 06:30 PM
Cell Reference in Header Dave Excel Discussion (Misc queries) 1 May 20th 05 08:56 PM


All times are GMT +1. The time now is 04:12 AM.

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"