#Convert Excel files to PDF
There are tons of solutions out there that will "automate" the conversion of Microsoft Office files to PDF. Unfortunately, many of them are bloated with spammy advertisements or will watermark your documents or any number of other unfriendly results.
If all that you really need to do is simply loop over a directory of say 30 or 300 or 3,000 Microsoft Office files and convert them each 1 by 1 into PDF's then a very lightweight solution can be found here.
Thanks to a conversation on Stack Overflow I came across the Apached Licensed OfficeToPDF.exe package, and with that and bit of ol' school Batch scripting, this task can be done for free, without spammy bloatware and also very quickly on your local machine.
First, download the OfficeToPDF.exe file and put that exe file into the directory that holds all of your Office documents.
Next, use whatever method you prefer to get a Windows Command open at that directory. I prefer to use the Windows Explorer and then hold the Shift key while doing a Right Click on the containing folder. This will give me the option to "Open Command Window here".
Once you are in the directory with the .exe file and all of the Excel documents, you can simply type in the following DOS command to loop over the files and convert them to PDF.
Convert all Excel files in the current directory and have the PDF file named the same as the original file, but with a .pdf extension.
for %i in (*.xls) do OfficeToPDF.exe "%i"