Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Steve,
I'm not sure if you mean "Sheets" or "Pages". If Pages I don't see how these details only in the top row help unless each sheet prints as one page, but I may be missing something. Whatever, maybe the old xl4 functions might be of use to you. Find and download a copy of "Macrofun.hlp" or "Macrofun.zip" and look in particular at the GET.DOCUMENT and GET.WORKBOOK functions To use these in cell formulas they need to be defined as formulas, eg Defined Name =formula Total_Sheets =GET.WORKBOOK(4) TotalPrintPages =GET.DOCUMENT(50) PrintHeader =GET.DOCUMENT(54) Then in a cell type "Total_Sheets" without quotes It might be possible to return current sheet as a number. Regards, Peter T "Steve J. Vaughan" wrote in message ... I have been asked to create a spreadsheet with the first three rows repeated on every page. However in one of the cells in the first three rows there is a requirement for the page number and number of pages . I know this is normally set in the page header but the layout requires it in a specfied cell. Is there away of getting the &[page] and &[pages] data into a cell, and will it work when printing? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can Enter Page Numbers and/or page ranges separated by commas. | Excel Discussion (Misc queries) | |||
Add page numbers to multiple worksheets without changing page setu | Excel Discussion (Misc queries) | |||
Excel page numbers | Excel Discussion (Misc queries) | |||
Page Numbers in Excel | Excel Discussion (Misc queries) | |||
excel page numbers | Excel Programming |