Microsoft 365 Error Codes

How to Fix Microsoft Access Runtime Error 2587 When Exporting Reports to Excel

Ayan MasoodAyan Masood Oct 28, 2026 869 views

Question details

Users are encountering a runtime error when attempting to export reports from Microsoft Access to Microsoft Excel.

How to Fix Microsoft Access Runtime Error 2587 When Exporting Reports to Excel
Product
Microsoft Access
Device & OS
not provided
Scenario
Exporting database reports to Excel or utilizing the TransferText VBA feature.
Observed behavior
Microsoft Access displays Runtime Error 2587 with the message 'Cannot complete the output operation.' Exporting to formats like PDF, RTF, or TXT may continue to function correctly.
Before you start

Ensure you have an active internet connection to download the necessary Microsoft Office updates, and save any open tables or forms in your Access database before proceeding.

Solution 1Recommended

Install the Latest Microsoft Office Update

Updating Microsoft Office is the most effective way to permanently resolve Error 2587, as the issue stems from a known bug in a previous security update.

This export error is a recognized issue linked to a recent Office security update affecting both Office 2016 and Microsoft 365 installations. Microsoft has deployed a fix for this bug in the Current Channel Version 2206 (Build 15330.20264 or later).

1
Open Account Settings

Launch Microsoft Access, click on the 'File' tab in the top-left corner, and select 'Account' from the left-hand navigation pane.

2
Check for Updates

Under the 'Product Information' section, click on the 'Update Options' drop-down button.

3
Apply Updates

Select 'Update Now'. Allow Microsoft Office to download and install the latest patches in the background.

4
Restart Application

Once the update is complete, close and reopen Microsoft Access, then try exporting your report to Excel again.

Install the Latest Microsoft Office Update
Semi-Annual Enterprise Channel Users: If your organization uses the Semi-Annual Enterprise Channel, the fix may be delayed. You will need to check Microsoft's specific release information for your channel's patch deployment schedule or contact your IT administrator.
Free Microsoft Office alternative

Process Your Exported Access Data Seamlessly with WPS Office

If Access Error 2587 prevents you from exporting directly to Excel, you can export your reports as CSV or TXT files and easily analyze them using WPS Office. As a powerful, free alternative to Microsoft Office, WPS Spreadsheet handles large datasets effortlessly and offers comprehensive data analysis tools.

  1. 1. Open WPS Spreadsheet: Launch the WPS Office suite and open a new Spreadsheet workspace.
  2. 2. Import Exported Data: Go to 'Menu' > 'Open' and locate the CSV or TXT file you exported from Microsoft Access.
  3. 3. Save as Excel Format: Use 'Save As' to easily convert your data into a standard .xlsx workbook for further distribution or analysis.
Fully compatible with Microsoft Excel formats (.xlsx, .xls, .csv, .txt) ensuring no data loss.Free to download, lightweight, and operates with blazing-fast speeds even on older hardware.Features a familiar tabbed interface so you can start working immediately with zero learning curve.Includes a built-in PDF toolkit to seamlessly manage and annotate PDF reports exported from Access.
microsoft office alternative - wps office

Frequently Asked Questions

What causes Microsoft Access Runtime Error 2587 during export?

This error is predominantly caused by a bug introduced in a previous Microsoft Office security update. The update breaks the background mechanism Access uses to pass output data to Excel and triggers the 'Cannot complete the output operation' message.

Does Error 2587 affect the TransferText VBA feature?

Yes, the bug that prevents manual exports to Excel is known to simultaneously disrupt the TransferText VBA feature and manual text transfers in Microsoft Access. Updating your Office installation resolves both issues.

Are older versions of Microsoft Office affected by this error?

The issue has been widely reported on both Microsoft Office 2016 standalone installations and subscription-based Microsoft 365 environments. Ensuring your specific build is updated past Version 2206 (Build 15330.20264) is the recommended fix.

Why does exporting to PDF still work when Excel export fails?

Access utilizes different rendering and output pipelines for fixed-layout formats like PDF and RTF compared to dynamic spreadsheet formats like Excel. The security update bug specifically interrupted the data handoff sequence used for Excel.