First page without page number

Sahak

Well-known Member
Joined
Nov 10, 2006
Messages
1,008
Office Version
  1. 2016
  2. 2013
  3. 2011
  4. 2010
  5. 2007
hi all,

(Excel 2002)
Is it possible if you have to print more than one pages have first page without page number (1), start numbering from second page (2,3,4,….)

Thank you in advance
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
I am not sure if there is a quicker way. Goto print, select the entire book, then click preview. In the preview select the setup and on page 2-the end, set up a custom footer but don't do this on the first page. There may be a quicker way to do this with a macro, but since no one else has helped you yet, I thought I would offer you this advice. Good luck.
 
Upvote 0
Hi Bill,

Thank you very much for reply.
I’m sorry for late, my internet was down.
I will take your advice. (To be honest I would prefer this with a macro.)

Thanks again
 
Upvote 0
You could try this code. It should be in the "ThisWorkbook" section.

<font face=Courier New><SPAN style="color:#00007F">Private</SPAN> <SPAN style="color:#00007F">Sub</SPAN> Workbook_BeforePrint(Cancel <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Boolean</SPAN>)<br>    Application.EnableEvents = <SPAN style="color:#00007F">False</SPAN><br>    Cancel = <SPAN style="color:#00007F">True</SPAN><br>    <SPAN style="color:#00007F">With</SPAN> ActiveSheet.PageSetup<br>        .CenterFooter = ""<br>        .FirstPageNumber = xlAutomatic<br>        ActiveSheet.PrintOut From:=1, To:=1<br>        .CenterFooter = "&P"<br>        ActiveSheet.PrintOut From:=2, To:=32766<br>    <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">With</SPAN><br>    Application.EnableEvents = <SPAN style="color:#00007F">True</SPAN><br><SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Sub</SPAN></FONT>
 
Upvote 0
Hi Peter,

Thank you very much for code, appreciated.

Sahak
 
Upvote 0

Forum statistics

Threads
1,214,806
Messages
6,121,667
Members
449,045
Latest member
Marcus05

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