abbaddon223
Registered User.
- Local time
- Today, 00:44
- Joined
- Mar 13, 2010
- Messages
- 162
Hi,
I'm trying to export a report as PDF giving it a name at the same time. I'll then email this out.
The email bit I'm fine with, but I'm struggling to get the report to save as a PDF
Dim outputFileName As String
outputFileName = CurrentProject.Path & "\Mail_Merges\Templates\Bulk\Email Quote From Dialler\" & "Quote" & [Quote_URN] & ".csv"
DoCmd.OutputTo acOutputReport, "Digital Service Cover Quote", acFormatPDF, outputFileName
Any help with this would be greatly appreciated!!
Phil.
I'm trying to export a report as PDF giving it a name at the same time. I'll then email this out.
The email bit I'm fine with, but I'm struggling to get the report to save as a PDF
Dim outputFileName As String
outputFileName = CurrentProject.Path & "\Mail_Merges\Templates\Bulk\Email Quote From Dialler\" & "Quote" & [Quote_URN] & ".csv"
DoCmd.OutputTo acOutputReport, "Digital Service Cover Quote", acFormatPDF, outputFileName
Any help with this would be greatly appreciated!!
Phil.