Excel – How to export a generic page range to PDF using Microsoft Office *without* a PDF printer

microsoft excelmicrosoft-officepdf

I am currently trying to save an Excel document to PDF, but the same process could be applied to a Word document. I would like to save a specific range of pages (e.g. pages 1, 3-5, and 8) to the PDF file.

When I try to save the file as a PDF, when I select PDF as the file type and click the "Options…" button, I am only given two options under "Page range". I can select either All, or Page(s), which allows me to select only a single range (e.g. 1-10 and that's it).

Is there any way to save a generic page range, similar to when I am printing the document, so I can enter a comma-separated list of pages (like 1, 3-5, 8) to include in the PDF?

While I am not shy of using VBA, I would like to avoid using a PDF printer, as I cannot install drivers on my work computer (no administrative privileges). I also want to try to keep the page numbers consistent (if I print pages 1,4,5, and 8, it says at the bottom "Page 1 of 3", "Page 2 of 3", etc). I know this is possible, since this happens when I export the document as a PDF with multiple selected cells.

Thank you.

Best Answer

I know you would prefer to do this directly from within Word, but lacking a real solution to do it that way I would like to suggest PDFsam (PDF Split and Merge) which, so long as Java is available on the machine, does not need to be installed in order to be used.

You can effectively split, re-order, merge and generally shuffle documents around quite easily using PDFsam

Get it from http://www.pdfsam.org/

What is pdfsam?

PDF Split and Merge is a very simple, easy to use, free, open source utility to split and merge pdf files. It’s released in two versions: basic and enhanced. Includes a console and a GUI interface.

Related Question