I have tried using the following solution to print from Excel to PDF:
Excel 2013 Print to PDF in VBA
While the solution seems to have worked for other people
OK, I just played with mine some more, and if I take the ".pdf" off the filename specification, I don't get the error 1004.