
Note: Enter this & of & into the header or footer field box if you like the page numbers displayed as 1 of 45, 2 of 45…Ĥ. And in the Header or Footer dialog box, please define the location where the page numbers are inserted by clicking inside the Left section:, Center section:, or Right section: box as you need, and then click Insert Page Number icon, and placeholder & appears. In the Page Setup dialog box, please click Header/Footer tab, and then click Custom Header or Custom Footer to go to set the header or footer that you want, see screenshot:ģ. Select all of the sheet tabs, then go to Page Layout tab, and click Dialog Box Launcher Button icon in the Page Setup group, see screenshot:Ģ. Note: If you want the page numbers displayed as 1 of 15, 2 of 15 format, you just need to directly enter this & of & into the header or footer field box, see screenshot:Ībove method can help you to insert the page numbers into one worksheet, if you want to insert the page numbers into all worksheets of the workbook to make all pages are numbered in sequential order, please do as this:ġ. Now, you can reset back to the normal view by clicking View > Normal, and when you print this worksheet, you will see the page numbers have been inserted into the header or footer that you selected. And you can see the placeholder & appear in the selected section, then click anywhere outside the header or footer area to display the page numbers. Click the header or footer where you want to insert the page number, and then a Design tab with Header & Footer Tools is displayed in the Ribbon, then click Design > Page Number, see screenshot:Ĥ. Then click Insert > Header & Footer, and your worksheet will be in Page Layout view, see screenshot:ģ. Go to the worksheet which you want to insert the page numbers into the header or footer.Ģ. Normally, we can insert the page numbers into header or footer quickly by using the Header & Footer function, please do as follows:ġ.
#Format page numbers in word browser code#
Insert page number into cell with VBA code

Insert page number into header / footer across multiple worksheets

Insert page number into header / footer in one worksheet In this article, I will introduce some quick tricks to insert the page numbers into cell, header or footer for you. When you print an Excel file, you may need to insert the page numbers into the pages to make the printed file neatly and readably.
#Format page numbers in word browser how to#
How to insert page number into cell / header / footer in Excel?
