Can someone please help me understand why the macro below outputs a PostScript file instead of a PDF file and if there is a way to tweak it such that it does what I expect it to do which is to print a PDF file, not a PostScript file. I would immensenly appreciate any help. Thank you.
VBA Code:
ThisWorkbook.Sheets(Array("Cover", "Cover Letter", "Proposal Letter", "Testimonials")).Select
'export to PDF
ActiveWindow.SelectedSheets.PrintOut _
PrintToFile:=True, _
PrToFileName:="Test Excel Export.pdf", _
ActivePrinter:="Adobe PDF", _
IgnorePrintAreas:=False