Page number in a cell

WERNER SLABBERT

Board Regular
Joined
Mar 3, 2009
Messages
104
I need to have the page number automatically entered into specific cells in my sheet.

a header or footer wont work here.

i have 170 page in the sheet wich on them have different items. each of these item codes get recorded on a different sheet including wich page it is on . for reference and indexing purposes. which in turn mean that when i add or delete anything i need to manually re-enter all the page numbers for each item.

ANY help ????:crash::crash::crash:
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Make a running sum in each cell of each sheet.... this will allow you to calculate the number of sheets and when you remove a sheet it will remove itself from the formula....

IE:

=SUM('Sheet1'!$A1,'Sheet2'!$A1,Sheet3!$A1...)

can try it it has worked in the past.... If not that you can do a VBA script that allows the sheets to be counted in order.... however you would have to run the script manually everytime you changed somthing (you can make a button to run the script)
 
Upvote 0
thanx but the whole problem is that all the pages are on one sheet. so i need something to calculate the total pages according to page breaks.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top