Fix Access 2013 or 2016 OutputTo PDF Error 2282
Question details
Resolve error 2282 when exporting an Access report to PDF with DoCmd.OutputTo.

- Product
- Microsoft Access 2013 or 2016
- Device & OS
- not provided
- Scenario
- VBA code that exported a report to PDF in Access 2010 is run in Access 2013 or 2016.
- Observed behavior
- DoCmd.OutputTo fails to create the PDF and returns error 2282.
Identify the report name and a folder where you have permission to create PDF files. If this is someone else's computer, obtain permission before repairing or reinstalling Office.
Check the report and PDF output path
Use these checks to rule out report errors, an invalid destination, or an incorrect OutputTo call.
In the Access Navigation Pane, right-click the report and select Print Preview. Resolve any errors that prevent the report from opening.
In File Explorer, open the intended output folder and confirm that it exists and that you can create a file there. Choose a writable folder and a PDF filename.
Open the VBA editor and check the DoCmd.OutputTo line. For example, use DoCmd.OutputTo acOutputReport, "YourReportName", acFormatPDF, "C:\YourWritableFolder\Report.pdf", replacing the report name and path with valid values.
Run the procedure from the VBA editor or its usual Access button, then check the destination folder for the PDF.

Verify and repair the Office installation
Use this approach if the report and path are valid but the PDF export still fails.
Export Office documents to PDF with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface and support for common Office formats, making it easy to move everyday documents to WPS. It does not repair Access or export Access database reports.

Frequently Asked Questions
Why does OutputTo work in Access 2010 but fail in Access 2013 or 2016?
The newer installation, report, or output path may need attention. Open the report in Print Preview, check the destination folder, and verify the running version under File > Account > About Access.
What format should I use in the VBA export command?
Use acFormatPDF as the OutputFormat argument in DoCmd.OutputTo, along with acOutputReport, the correct report name, and a valid PDF file path.
Does missing IntelliSense for OutputFormat mean PDF support is unavailable?
Not necessarily. IntelliSense behavior alone does not establish whether PDF export is available. Test the command with a valid report and path, then repair Office if the issue persists.
Can WPS Office fix error 2282 in Access?
No. Error 2282 in DoCmd.OutputTo must be troubleshot in Microsoft Access. WPS Office can export supported Office documents to PDF, but it does not export Access database reports.




