Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default excel page numbers

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
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
How can Enter Page Numbers and/or page ranges separated by commas. d Excel Discussion (Misc queries) 1 December 3rd 08 03:41 PM
Add page numbers to multiple worksheets without changing page setu alatona Excel Discussion (Misc queries) 2 March 16th 07 07:23 PM
Excel page numbers hanadiv Excel Discussion (Misc queries) 1 November 21st 05 03:11 PM
Page Numbers in Excel Terri D. Excel Discussion (Misc queries) 3 June 28th 05 07:17 PM
excel page numbers Ron de Bruin Excel Programming 10 January 5th 05 08:43 AM


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