ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Insert automatic page numbering into a cell, not a header or foote (https://www.excelbanter.com/excel-discussion-misc-queries/242299-insert-automatic-page-numbering-into-cell-not-header-foote.html)

Catherine D

Insert automatic page numbering into a cell, not a header or foote
 
Hello,

I would like to insert a pge number into a row to repeat at the top of each
page. We have developed a page "header" in the first rows of the worksheet
so that they are visible to non-saavy Excel users and would like the page
number to increment in one of the cells that repeat at the top of each
printed page.

I also want text in the cell so that it would print "page 1" in one cell
where 1 is actually &[page].

How do you do this?

Thanks, Catherine
--
BC, Canada

Gord Dibben

Insert automatic page numbering into a cell, not a header or foote
 
Have a look at the code on Ron de Bruin's site.

Adapt to suit.

http://www.rondebruin.nl/print.htm#same


Gord Dibben MS Excel MVP

On Thu, 10 Sep 2009 14:39:02 -0700, Catherine D
wrote:

Hello,

I would like to insert a pge number into a row to repeat at the top of each
page. We have developed a page "header" in the first rows of the worksheet
so that they are visible to non-saavy Excel users and would like the page
number to increment in one of the cells that repeat at the top of each
printed page.

I also want text in the cell so that it would print "page 1" in one cell
where 1 is actually &[page].

How do you do this?

Thanks, Catherine




All times are GMT +1. The time now is 06:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com