Create Separate Page Numbers for Each Excel Sheet in a PDF
Question details
Create a combined PDF in which each Excel worksheet has its own page numbering.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Multiple worksheets need to be exported into one PDF while retaining separate page numbers and page totals for each sheet.
- Observed behavior
- When worksheets are exported together, page numbers or totals can reflect the combined print job rather than each individual sheet.
Check the print area and page layout for each worksheet. Add a page-number header or footer to each sheet and preview its pages before exporting.
Export Each Excel Sheet Separately, Then Combine the PDFs
Use a separate export for each worksheet to keep its page numbers and page totals independent.
Excel's &[Page] code displays the current page number, while &[Pages] displays the total number of pages. When sheets are exported together, numbering or totals may reflect the combined print job.
Select a worksheet, open Page Layout > Page Setup, and use the Header/Footer tab to add a custom footer such as Page &[Page] of &[Pages]. Repeat for each sheet.
In Page Layout > Page Setup, open the Page tab and set First page number to 1 for each sheet that should restart at page 1.
Select one worksheet, then use File > Export or Save As to create a PDF. In the PDF options, choose Active sheet or Active sheet(s), and repeat for every worksheet.
Open a PDF merge tool, add the exported files in the desired order, and save the combined PDF. Check that each sheet's printed footer starts and ends as expected.

Export and Combine Numbered Worksheets with WPS Office
Use WPS Spreadsheet to set up and export each worksheet separately, then combine the resulting files with WPS PDF tools.
- 1. Open the workbook: Open the Excel workbook in WPS Spreadsheet and select the first worksheet.
- 2. Set the footer: Open Page Layout > Page Setup, choose Header/Footer, and add the page number and page total to the sheet's footer. Repeat for the other sheets.
- 3. Export sheets separately: Use Export to PDF and choose the current sheet or active sheet. Save each worksheet as a separate PDF and check its page numbering.
- 4. Merge the PDFs: Open WPS PDF, choose Tools > Merge PDF, add the exported files in order, and save the combined PDF.

Frequently Asked Questions
Why does my Excel footer show the total for multiple sheets?
The &[Pages] footer code can count pages across a combined print job. Export each worksheet as a separate PDF to give it an independent page total.
How do I restart page numbering at 1 for a worksheet?
Select the worksheet, open Page Layout > Page Setup, and set First page number to 1 on the Page tab. Then export that sheet separately.
Will merging the PDFs change the numbers in the footers?
No. A PDF merge tool combines the pages without recalculating the page numbers already shown in their footers.
Can I combine the PDFs in WPS Office?
Yes. In WPS PDF, look for Tools > Merge PDF, add the files in the desired order, and save the result. Tool availability may depend on your WPS version and plan.




