Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default inserting page number in cell

I need to be able to have automatic page numbers located
in a cell instead of locating it in the header or footer.
I have seen this done before but can not work out the
coding.

help please!

David
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default inserting page number in cell

You have to locate all the horizontal and vertical pagebreaks and compute
the numbering.

look at hpagebreaks and vpagebreaks collections.

--
Regards,
Tom Ogilvy

David White wrote in message
...
I need to be able to have automatic page numbers located
in a cell instead of locating it in the header or footer.
I have seen this done before but can not work out the
coding.

help please!

David



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 134
Default inserting page number in cell

Page number of the active cell, Find the page number of the activecell (Sub not formula). Laurent Longre 2000-04-21 programming.
http://google.com/groups?threadm=an_613974661

Some postings by Myrna Larson, that determine the page number for the activecell and think there is one somewhere that does it for a
column of cells. (but could not find it) AN=626272822 2000/05/23, AN=561640908 1999/12/16
http://google.com/groups?threadm=an_626272822
http://google.com/groups?threadm=an_561640908
---
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

"Tom Ogilvy" wrote in message ...
You have to locate all the horizontal and vertical pagebreaks and compute
the numbering.

look at hpagebreaks and vpagebreaks collections.

--
Regards,
Tom Ogilvy

David White wrote in message
...
I need to be able to have automatic page numbers located
in a cell instead of locating it in the header or footer.
I have seen this done before but can not work out the
coding.

help please!

David





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
inserting page number SU123 Excel Discussion (Misc queries) 2 November 4th 08 12:34 PM
How to display current page number in any cell of that page. Laljeet Excel Discussion (Misc queries) 8 February 2nd 08 01:31 AM
For Hector Miguel - Inserting page numbers in cell mato nanjin Excel Discussion (Misc queries) 0 December 30th 05 03:09 PM
sheet tabs as page number and in a cell page of pages? [email protected] Excel Discussion (Misc queries) 0 November 22nd 05 02:43 PM
Inserting page numbers in a cell DannyG Excel Discussion (Misc queries) 2 July 19th 05 12:37 AM


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