Report to PDF file
Posted on 2014-12-20
I have the following
Dim blRet As Boolean
Dim search, Tfilename
Tfilename = "Daily Inspection"
blRet = ConvertReportToPDF("rptHoistFaultReport", vbNullString, Tfilename & ".pdf", True, True, 150, "", "", 0, 0, 0)
The above creates an PDF file and then opens a dialog box for the user to choose a location to save.
Is there away to auto save to a specified location with a given file name without the dialog box
FileSave = "C:\MyReports\Daily Inspection.pdf
Any help appreciated