Hi,I have a list of projects in Excel and I have written a macro to run through the projects, open it one by one in MS Projects, manipulate the view and print to PDF file.
I have a line in the beginning of my code before I start looping through files:
Application.ActivePrinter = "Adobe PDF on NE01:"
However, it does not change printer when this line gets executed:
FilePrint FromDate:=FromDate, ToDate:=ToDate
It prints to "physical" printer not PDF.
Any ideas how to change it in VBA? (I setup Adobe PDF printer as default manually in "Printers and Faxes" before I run the macro at the moment)
Any help is appreciated!
I have a line in the beginning of my code before I start looping through files:
Application.ActivePrinter = "Adobe PDF on NE01:"
However, it does not change printer when this line gets executed:
FilePrint FromDate:=FromDate, ToDate:=ToDate
It prints to "physical" printer not PDF.
Any ideas how to change it in VBA? (I setup Adobe PDF printer as default manually in "Printers and Faxes" before I run the macro at the moment)
Any help is appreciated!