Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
subscriptionsink
 
Posts: n/a
Default insert the content of a cell into a header/footer

I want to insert the content (text) of a selected cell in a header/footer of
Excel.
For example, Cell A1 (on sheet 1) contains a label. How can I get that
label to show in a header?

  #2   Report Post  
David McRitchie
 
Posts: n/a
Default

You will have to use a macro, if you are familiar with macros
and know you need a macro the newsgroup is microsoft.public.excel.programming

this is an example of the line of code you will have to work into your macro.

Activesheet.PageSetup.CenterFooter=Range ("A1").value

See http://www.mvps.org/dmcritchie/excel/pathname.htm for
more information for sample macro coding and see boxed note at top
if not already familiar with macros..

---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"subscriptionsink" wrote in message
...
I want to insert the content (text) of a selected cell in a header/footer of
Excel.
For example, Cell A1 (on sheet 1) contains a label. How can I get that
label to show in a header?



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
borders not aligned with cell content when printed andy g Excel Discussion (Misc queries) 2 June 5th 06 04:33 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
cell content miamac Excel Discussion (Misc queries) 0 April 18th 05 06:56 PM
How do I insert an image into a specific cell within a protected . Scott Peebles Excel Discussion (Misc queries) 1 January 7th 05 01:14 AM
Transferring cell content between workbooks using cell references Kiwi Mike Excel Discussion (Misc queries) 2 November 27th 04 11:31 PM


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