I have a report that I would like to have automatically exported from Access 2010 using the Windows 7 Enterprise 32bit Task Scheduler.
I have a working report and a macro, that when run manually (within Access), the report is exported as a PDF just fine. ExportedManually.pdf
The problem starts when I try to run the macro via a Windows 7 Scheduled Task. When exported as a rtf, the report exports fine automatically. When exported as a pdf, the right edge of the pdf gets cut off. ExportedAutomatically.pdf
I have used both a macro (export with formatting) and a VB function (DoCmd.OutputTo _
acOutputReport, "Test", acFormatPDF, "C:\Temp\Test.pdf"), but both have the same issue when using a Scheduled Task.