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?
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.
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 badgesI had a similar problem, which I discovered was due to different DPI settings on each page.
I followed these instructions and it worked perfectly:
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:22To create separate PDf files with for each worksheet with worksheet name you need to create a macro. For that
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
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.
To do so, I had to:
That should give you this ribbon option, which will create a single pdf of the entire project.
answered Feb 26, 2015 at 23:54 1,276 8 8 gold badges 22 22 silver badges 45 45 bronze badgesThe only thing that worked for me was to SAVE AS then select type as PDF and then on the Options button select "Entire Workbook".
answered Jan 6, 2017 at 14:00I know that this thread is old, but I stumbled upon it from google, so I imagine someone else will too. Agtover's answer is a good one, but it leaves out an important step. You don't need to just select all sheets. After you select all sheets, you also need to modify the page setup in some way. This is what forces all sheets into the same page setup, which allows them to print on the same pdf.
this page created by Helen Bradley and linked by agtover in their solution has the full instructions. In summary:
I would have posted this as a comment to agtover's answer, but I do not have enough reputation to comment
answered Jan 5, 2021 at 15:13 RazorPazor RazorPazorTo subscribe to this RSS feed, copy and paste this URL into your RSS reader.
Site design / logo © 2024 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2024.9.4.14806