I am trying to export a report to a pdf file, My code has worked flawlessly then all of a sudden I receive this error.
" The Output To action was canceled"
I tried running the report on 2 machines both accessing from same server
Here is my code:
Private Sub Command23_Click()
On Error GoTo Err_Command23_Click
DoCmd.OutputTo acOutputReport, "Services", acFormatPDF, CurrentProject.Path & "\myReport.pdf"
FollowHyperlink CurrentProject.Path & "\myReport.pdf"