Hi I'm using the following piece of code to automatically print to pdf 4 different reports in an Access DB (2021)
DoCmd.OutputTo acOutputReport, "ReportName", acFormatPDF, myPathnFile
This is working perfectly for 2 of the reports but not for the other 2. These reports are also manually run...