Can anyone help?
I need to save a report to a PDF and am using the following code:
Private Sub Label16_Click()
DoCmd.OutputTo acOutputReport, "All Active Change Controls Report", acFormatPDF, ("Change Controls" & Format(Now(), "mmmyyyy") & ".pdf"), True
End Sub
I am getting an error saying acFormatPDF is not recognised. Do I need some kind of add in to allow this to work?
Thanks
I need to save a report to a PDF and am using the following code:
Private Sub Label16_Click()
DoCmd.OutputTo acOutputReport, "All Active Change Controls Report", acFormatPDF, ("Change Controls" & Format(Now(), "mmmyyyy") & ".pdf"), True
End Sub
I am getting an error saying acFormatPDF is not recognised. Do I need some kind of add in to allow this to work?
Thanks