First page without page number

Sahak

Well-known Member
Joined
Nov 10, 2006
Messages
1,004
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

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Bill_Biggs

Well-known Member
Joined
Feb 6, 2007
Messages
1,216
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

Sahak

Well-known Member
Joined
Nov 10, 2006
Messages
1,004
Office Version
  1. 2016
  2. 2013
  3. 2011
  4. 2010
  5. 2007
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

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
59,294
Office Version
  1. 365
Platform
  1. Windows
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

Sahak

Well-known Member
Joined
Nov 10, 2006
Messages
1,004
Office Version
  1. 2016
  2. 2013
  3. 2011
  4. 2010
  5. 2007
Hi Peter,

Thank you very much for code, appreciated.

Sahak
 
Upvote 0

Forum statistics

Threads
1,190,898
Messages
5,983,454
Members
439,843
Latest member
PlanetFitness

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
Top