Excel "Print to PDF" creating multiple files

I am trying to print a workbook to pdf, but for some reason, it is attempting to save to multiple files. About 10 pages want to save in 2-3 pages per file, then the rest (another 15) save to the remaining file, totalling ~6 separate files. This happens with both Adobe and CutePDF Writer. How can I print the entire workbook into one file?

asked Feb 26, 2015 at 5:51 1,276 8 8 gold badges 22 22 silver badges 45 45 bronze badges I don't see the reason for the -1 or the close vote. It is indeed strange behavior of Excel. Commented Feb 26, 2015 at 22:44

6 Answers 6

I understand you are trying to print the entire workbook instead of just one worksheet (see screenshot). If that's the case, the default Excel behavior is to send each and every worksheet separately to the printer. That causes the PDF writer to create a separate file.

Excel - Print entire workbook

The solution is quite simple and I borrowed it from this site - thanks Helen Bradley! Follow these steps:

For some magic reason Excel now appends all output to the printer instead of sending each and every worksheet separately. This creates one PDF file with all worksheets in it.

answered Feb 26, 2015 at 22:41 6,342 1 1 gold badge 25 25 silver badges 40 40 bronze badges

I had a similar problem, which I discovered was due to different DPI settings on each page.

I followed these instructions and it worked perfectly:

  1. Open the Excel workbook
  2. Select the sheet you want to set the DPI for
  3. In Microsoft Excel 2007/2010/2013 go to Page Layout and click on the expand button for the Page Setup dialog (for Microsoft Excel 2003 or earlier go to File->Page Setup)
  4. In the Print Quality section enter the DPI value that you want to have for your document (note that this is the DPI value you will have to set for each individual sheet too) and press OK
159k 77 77 gold badges 365 365 silver badges 409 409 bronze badges answered Jan 18, 2016 at 2:27 111 1 1 silver badge 2 2 bronze badges

Hi, it appears that you copied this answer from novapdf.com/kb/…. You're using someone's work without giving the author credit. This amounts to plagiarism, and is not welcome on Super User. Remember to always add prominent attribution when using other sources. Please read How to reference material written by others

Commented Jan 18, 2016 at 9:22 I've fixed your answer this time, but please play attention next time. Commented Jan 18, 2016 at 9:22

To create separate PDf files with for each worksheet with worksheet name you need to create a macro. For that

  1. Press Alt + F11
  2. MainMenu > InsertModule
  3. Insert the code below
Sub SaveAsPDF() Dim CurWorksheet As Worksheet Dim FileName As String For Each CurWorksheet In ActiveWorkbook.Worksheets FileName = Application.ActiveWorkbook.Path FileName = FileName & "\" FileName = FileName & CurWorksheet.Name CurWorksheet.ExportAsFixedFormat Type:=xlTypePDF, FileName:=FileName, Quality:=xlQualityStandard, OpenAfterPublish:=False, IgnorePrintAreas:=False Next CurWorksheet End Sub 
  1. Close the window
  2. Go to Developer Tab and press Macros
  3. Run SaveAsPDF
2,075 8 8 gold badges 20 20 silver badges 22 22 bronze badges answered Jun 13, 2023 at 9:59 11 2 2 bronze badges

While this is not a direct answer to the question, it is a solution -

I managed to get the Adobe Acrobat plugin working so that I could use the "Create PDF" option in the "Acrobat" Ribbon toolbar.

enter image description here

To do so, I had to: