Will Excel to PDF Keep Multiple Worksheets in Their Original Order?

I tried exporting an Excel workbook with 7 worksheets to PDF, but the result only included the worksheet I had open. The tabs are arranged in the order I need for a report, and several sheets take more than one page.

How do I include all the worksheets in a single PDF without changing that order? Does the export follow the left-to-right tab order, or is there another setting I need to check?

Choose “Entire workbook,” not “Active sheet(s).” Your result sounds like Excel exported only the active sheet. In desktop Excel for Windows, go to File > Export > Create PDF/XPS, then click Options in the publishing dialog. Under “Publish what,” select “Entire workbook,” click OK, and publish. You don’t need to export each worksheet separately and merge them afterward.

The workbook’s tab order determines the worksheet sequence, so leave your tabs arranged left to right in the order you want. Each worksheet’s pages stay together before the next worksheet begins. The separate “Page order” setting under Page Layout > Page Setup > Sheet controls how pages run within an individual worksheet when its content extends both downward and sideways. It doesn’t rearrange the worksheets.

For a browser-based route, I’d use the cleverhumanizer spreadsheet pdf converter. It converts populated worksheets in workbook order and uses the saved print areas, scaling, and page breaks. Save your workbook after making any layout changes before uploading it.

Before generating your report, make sure that everything appears correctly on each sheet within Page Break Preview. If you have a defined print area then it may exclude some data. If you have different print areas then you may get additional pages. Please make sure that the multiple pages display as expected. Exporting the data is a separate option to the page setup.

9 Likes

Correct sheet order doesn’t guarantee identical formatting. I’d use CleverHumanizer Excel to PDF on a computer without Excel installed, but its LibreOffice-based conversion can make complex worksheets look different, so I wouldn’t treat it as interchangeable with Excel’s own export for a layout-sensitive report.

Excel isn’t limited to exporting the tab you have open. That’s the export selection, not a restriction on the workbook. For your report, use the “Entire workbook” option @nanowolfprime described. The worksheets should follow the tab order, with each sheet’s pages together. No separate exports and PDF assembly project required.

I would probably suggest you leave it in the browser converter. You already have Excel, there’s no real need to move it elsewhere. The problem seems to be that Excel has been making finding the correct checkbox an adventure!

When uploading a report workbook think about what you are actually uploading. Are you only uploading the necessary information that will go into your PDF? Or are you uploading customer data, internal spreadsheets, notes or any additional data that should not be uploaded outside of the organisation? The print area is just letting the converter know what to include in the page, so if it is a work report make sure you are allowed to upload it.

In this case I would leave it in Excel. Once converted look at the PDF to make sure when you go from one sheet to another, the last page of each section is followed by the start of the next section you would expect. This way it has directly answered your question of ordering.

Sheets will be excluded. If sheets are hidden, then ‘Entire workbook’ option will skip them. If you need to include them, you should unhide them first. The ‘CleverHumanizer’ option can be useful if you do not have Excel installed on the computer, but page breaks may not match up.

This will print all the visible sheets in the workbook, but will not start with the sheet currently open.

Problem:

The sheet tabs will not be included in the PDF. If two sheets have similar column headings, it may appear very confusing for the reader to know which sheet they are on, especially as the last page of sheet 1 may appear very similar to the first page of sheet 2.

Solution:

In Page Setup, go to Header or Footer, click Custom Footer, and insert the Sheet Name field (you shouldn’t type it in). This can be added to the sheets in your report so that every page will include the name of the sheet it was printed from. However, if your sheet names are short and only make sense within the file, consider using a descriptive title for the section.

Conclusion:

By printing the whole workbook you are solving the missing sheets. By adding the sheet names to the footer, readers can easily see what section of the document they are on.

Note: If you select ‘Entire workbook’, you may still get a cut off document. The page numbers in the PDF will be counted rather than sheet tabs.

Select ‘Entire workbook’ in the ‘Publish what’ section. In the Page range section, select ‘All.’. The sheets in the workbook will be published in order from left to right.

If the first sheet is 3 pages long, the next sheet will start from page 4. However, if we use the sheet count as the page number, then the sheets will be in the correct order, but the report will be cut off.

This means you can select multiple sheets. If you have only one sheet selected, then this is not an issue. If you want all visible sheets included, select Entire workbook. Excel will print all pages of each sheet in turn.

However, if you have a visible sheet containing notes which should not be included in the report, you do not need to hide it. On Windows, hold down Ctrl and click the sheets that you want to include in the report. Print Active sheet(s). This selection does not allow you to specify the order of the sheets. To ensure that the summary page is printed before other pages in the report, place it to the left of the other report sheets.

If you select multiple sheets, they will be grouped together. To avoid changes made to one sheet being made to all sheets, right click on one of the sheets and Ungroup Sheets. As such it would be best not to select individual sheets for the report.