I am new to VBA and still trying to learn this day by day. I need to print my opened workbook with a .PDF format but without prompting the print dialog box(Destination folder). Instead, I want to format a destination path in the code and also with some page setups(orientation,zoom,etc). How do I solve this?
Sub PrintDoc()
Sheets("Sheet1").PrintOut
End Sub