MrExcel Publishing
Your One Stop for Excel Tips & Solutions

Excel 97 printing

Posted by Steve Solomon on May 19, 2000 8:05 AM

How can I print page numbers in Excel 97 starting on the second page of the worksheet?

Posted by Celia on May 19, 2000 4:08 PM


I also would like to know if there is a simple way to do this.
All I can think of is to first print page 1 without a page footer, and then print page 2 onwards with page footers. This can, of course, be done in one step with a macro. For example :-

ActiveSheet.PageSetup.CenterFooter = ""
ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1, Copies:=1
ActiveSheet.PageSetup.CenterFooter = "Page &P"
ActiveWindow.SelectedSheets.PrintOut From:=2, To:=32766, Copies:=1