Data Import & Export

Fix Access DoCmd.OutputTo Error 2282 When Exporting a Report to XLSX

Muhammad TalhaMuhammad Talha Nov 27, 2026 870 views

Question details

The user needs to export an Access report to an XLSX file without receiving run-time error 2282.

Fix Access DoCmd.OutputTo Error 2282 When Exporting a Report to XLSX
Product
Microsoft Access
Device & OS
not provided
Scenario
A VBA procedure uses DoCmd.OutputTo to export a report as an Excel workbook.
Observed behavior
Access returns run-time error 2282, stating that the requested output format is unavailable.
Before you start

In Access, open File > Account > About Access to check the installed version and bitness. Note the report name, output format argument, and destination path in the failing VBA statement.

Solution 1Recommended

Check XLSX export support and Access components

Use this approach to identify whether the requested format is available for the report and Access installation.

1
Check the VBA arguments

Open the VBA editor with Alt+F11 and inspect the DoCmd.OutputTo statement. Confirm that acOutputReport, the report name, the XLSX format argument, and the destination file path are correct.

2
Check the available export formats

Select the report in the Navigation Pane, then open the External Data tab and check the available export options. Verify that XLSX export is supported for the selected object and your Access version.

3
Test another format

From External Data, try exporting the report to PDF if that option is available. If you also have an XLS option, test it separately; success with another format can help isolate the XLSX issue.

4
Check or repair Access

If a supported export format is unexpectedly unavailable, check that Access and its required Office or Access database engine components are installed. Use the Office installation's Modify or Repair option in Windows installed apps, then restart Access and retest.

Format availability matters: Error 2282 can indicate that the requested output format or export provider is unavailable. Do not assume the report itself is damaged; support can depend on the object type and Access version.
Free Microsoft Office alternative

Open exported Excel data with WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface for working with exported spreadsheets. Its Microsoft Office format compatibility makes it easy to move existing files into WPS, although it does not repair Access or run an Access database export.

Review and edit data exported from an Access query to XLSXOpen and save Microsoft Excel XLSX and XLS filesWork in a familiar spreadsheet interfaceUse a free, lightweight Office alternative
QA img-9

Frequently Asked Questions

What does Access error 2282 mean during an XLSX export?

It means the requested output format is unavailable for the operation. Check the DoCmd.OutputTo format argument, the selected object type, and whether your Access installation supports the export.

How can I export the report data if XLSX output is unavailable?

Check the report's Record Source in its Property Sheet, then select the underlying table or query and choose External Data > Export > Excel. The resulting spreadsheet may not preserve the report layout.

Can I export the report as a PDF instead?

If PDF export is available, select the report and choose External Data > Export > PDF or XPS. PDF is useful when the printable report layout matters more than editable spreadsheet data.

Will installing WPS Office fix the Access export error?

No. The error must be resolved in Access or worked around with a supported export. WPS Spreadsheets can open the XLSX or XLS file after it has been exported.