Archive of Mr Excel Message Board

Back to Printing in Excel archive index
Back to archive home

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?

Re: Excel 97 printing
Posted by Celia on May 19, 2000 4:08 PM
Steve
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
Celia

This archive is from the original message board at www.MrExcel.com.
All contents © 1998-2004 MrExcel.com.
Visit our
online store to buy searchable CD's with thousands of VBA and Excel answers.
Microsoft Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.