Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Page Numbers

I would like to write a function that would return the page number on which a
particular cell will print out.

This is for a table of contents & other cross references on a single
spreadsheet for which the print range is multiple pages.

For example, I want cell "C10" to return the page number under the current
print setup for the cell "e120".

Hope it makes sense, Kaval
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 132
Default Page Numbers

Kaval, do you have a single worksheet or multiple worksheets that you would
consider one print job (i.e. if you have multiple worksheets, does the page
numbering restart on each sheet)?



"Kaval" wrote:

I would like to write a function that would return the page number on which a
particular cell will print out.

This is for a table of contents & other cross references on a single
spreadsheet for which the print range is multiple pages.

For example, I want cell "C10" to return the page number under the current
print setup for the cell "e120".

Hope it makes sense, Kaval

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Page Numbers

It is a single worksheet and single print range (default page numbers
starting from 1).



"Bill Pfister" wrote:

Kaval, do you have a single worksheet or multiple worksheets that you would
consider one print job (i.e. if you have multiple worksheets, does the page
numbering restart on each sheet)?



"Kaval" wrote:

I would like to write a function that would return the page number on which a
particular cell will print out.

This is for a table of contents & other cross references on a single
spreadsheet for which the print range is multiple pages.

For example, I want cell "C10" to return the page number under the current
print setup for the cell "e120".

Hope it makes sense, Kaval

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 132
Default Page Numbers

If you search for "pfister" in the Excel discussion, you'll find two threads
("Print Page Totals" and "Resetting page numbers") that pertain to this
topic. As far as returning the Page number in a cell, you can use a
user-defined function. This function should load/check a global flag and
associated variables to determine the pagebreaks only as often as it needs to
(whenever the workbook opens or is updated), so that you don't kill your calc
times.

Hope this makes sense.

Bill


"Kaval" wrote:

It is a single worksheet and single print range (default page numbers
starting from 1).



"Bill Pfister" wrote:

Kaval, do you have a single worksheet or multiple worksheets that you would
consider one print job (i.e. if you have multiple worksheets, does the page
numbering restart on each sheet)?



"Kaval" wrote:

I would like to write a function that would return the page number on which a
particular cell will print out.

This is for a table of contents & other cross references on a single
spreadsheet for which the print range is multiple pages.

For example, I want cell "C10" to return the page number under the current
print setup for the cell "e120".

Hope it makes sense, Kaval

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
Page numbers in page break view Al Excel Discussion (Misc queries) 1 August 24th 09 05:28 PM
Different Page Numbers In Worksheet w/Page Breaks UT Excel Discussion (Misc queries) 8 January 16th 09 06:48 PM
How can Enter Page Numbers and/or page ranges separated by commas. d Excel Discussion (Misc queries) 1 December 3rd 08 03:41 PM
Page numbers on copies of a single page worksheet sr accountant Excel Discussion (Misc queries) 1 May 7th 07 06:29 PM
Add page numbers to multiple worksheets without changing page setu alatona Excel Discussion (Misc queries) 2 March 16th 07 07:23 PM


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