If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Print Reports to PDF
Hello,
I put all my report as subreport into one report and I want to print the new all report as a PDF file. I have the below coding behind a button and it works great, but I would like to choice a file name and directory to save the PDF file. Is this possible? If yes, how would I do it. Thank you, Walter Private Sub cmdExportToPDF_Click() DoCmd.OutputTo acOutputReport, "rptMetricAll", acFormatPDF, "c:PDFReports\" & "rptMetricAll" & ".pdf", False End Sub |
#2
|
|||
|
|||
Print Reports to PDF
Hi,
Try this to choice file name and location http://www.mvps.org/access/api/api0001.htm Walter wrote: Hello, I put all my report as subreport into one report and I want to print the new all report as a PDF file. I have the below coding behind a button and it works great, but I would like to choice a file name and directory to save the PDF file. Is this possible? If yes, how would I do it. Thank you, Walter Private Sub cmdExportToPDF_Click() DoCmd.OutputTo acOutputReport, "rptMetricAll", acFormatPDF, "c:PDFReports\" & "rptMetricAll" & ".pdf", False End Sub -- Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/For...ports/200912/1 |
Thread Tools | |
Display Modes | |
|
|