Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Add page numbers to multiple worksheets without changing page setu

I'm trying to add page numbers to multiple worksheets and It did work but
when I go to print, the page setup for all of my worksheets has been changed
to the setup of the first page or first worksheet in which I added the page
numbers. So I have pagebreaks in the middle of my documents. I've gone back
twice and changed the pagebreaks and this continues to happen.

Is there another way to have consectutive page numbers for the entire
workbook without the page setup changing for each worksheet?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 194
Default Add page numbers to multiple worksheets without changing page setu

alatona

To have consecutive page numbers for the entire wookbook "group" all the
worksheets first. There are several ways to do this but the one I use is:
select the first one (the one you want to be page one) then press "shift" and
select the last one. If you do not want to print all but still have
consecutive numbers for several worksheets select the first one and press
"ctrl" and individually select the worksheets you want to print. Be sure to
"UNGROUP" your worksheets when you are done.

Mike Rogers

"alatona" wrote:

I'm trying to add page numbers to multiple worksheets and It did work but
when I go to print, the page setup for all of my worksheets has been changed
to the setup of the first page or first worksheet in which I added the page
numbers. So I have pagebreaks in the middle of my documents. I've gone back
twice and changed the pagebreaks and this continues to happen.

Is there another way to have consectutive page numbers for the entire
workbook without the page setup changing for each worksheet?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Add page numbers to multiple worksheets without changing page setu

If Mike's suggestion doesn't work for you, try this macro.

Sub Page_Nums()
With ActiveSheet.PageSetup
.CenterFooter = "Page &P of &N"
End With
ActiveWindow.SelectedSheets.PrintPreview 'PrintOut
End Sub


Gord Dibben MS Excel MVP

On Fri, 16 Mar 2007 07:18:05 -0700, alatona
wrote:

I'm trying to add page numbers to multiple worksheets and It did work but
when I go to print, the page setup for all of my worksheets has been changed
to the setup of the first page or first worksheet in which I added the page
numbers. So I have pagebreaks in the middle of my documents. I've gone back
twice and changed the pagebreaks and this continues to happen.

Is there another way to have consectutive page numbers for the entire
workbook without the page setup changing for each worksheet?


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
Printing multiple page worksheets on 1 single page Hope Excel Discussion (Misc queries) 1 January 7th 07 03:56 AM
changing the page setup for multiple worksheets in a workbook Joe Skochdopole Excel Discussion (Misc queries) 3 March 7th 06 04:52 PM
How do you create page numbers on excel worksheets? [email protected] Excel Worksheet Functions 1 February 1st 06 12:27 AM
Continuous page numbers in workbook of multiple worksheets Val Excel Discussion (Misc queries) 3 June 23rd 05 07:32 PM
changing page numbers in repeated header Jennifer Excel Discussion (Misc queries) 0 March 2nd 05 05:09 PM


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