I would like to export a report to PDF format. However, I don't want to use the report name as the default file name. Is it possible to do that?
Report Name: Report1
Desired .pdf name: PDFFile
Here is the code I am using, but when you do save it the file name defaults to Report1
Thank you!Code:DoCmd.OutputTo acOutputReport, "Report1", "PDF Format (*.pdf)", "", False, "", 0, acExportQualityPrint