Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How can I include a variable in an Excel page header

I'd like to include the value from the 1st or last row of each page in the
header of an Excel spreadsheet.
E.g. If the first column contains a date, and there is a page change after
each month, I'd like to be able to have a Header text like "Report for the
month of [=TEXT(A*i, "mmm-yy")]"
where A*i is the "first-row-of-current-page" respectively.
In other words, if 40 rows fit on each page and cell A1 contains the date
1-Jan-2005 and cells A2-A80 contain dates in Jan-05 while A81-A100 contain
dates in Feb-05 and A101-200 contain dates in Mar-05 then then header for
pages 1+2 should read "for the month of Jan-05", that of pg.3 should read
"for the month of Feb-05", and that of pages 4-5 should read "for the month
of Mar-05"
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
In excel print header on firt page only roberte Excel Discussion (Misc queries) 2 May 14th 06 09:07 PM
excel how to get header on only 1st page bobrink23 Excel Discussion (Misc queries) 1 April 14th 06 01:35 PM
How do I hide the header on all but the 1st page in an excel works barr Excel Discussion (Misc queries) 2 April 11th 06 06:03 PM
Problem with Page Numbering Aurora Excel Discussion (Misc queries) 0 November 21st 05 02:10 PM
Page Numbers Aurora Excel Discussion (Misc queries) 0 November 17th 05 08:04 PM


All times are GMT +1. The time now is 11:39 AM.

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

About Us

"It's about Microsoft Excel"