Update & Upgrade Problems

Fix Access Export to Text and RTF Fails After Office 365 Update

Algirdas JasaitisAlgirdas Jasaitis Oct 26, 2026 870 views

Question details

Users are unable to export data to MS-DOS text and RTF formats using Microsoft Access VBA following a specific Office 365 update.

Fix Microsoft Access Export to Text and RTF Fails After Office 365 Update
Product
Microsoft Access
Device & OS
not provided
Scenario
Attempting to run VBA scripts that export database information to text or RTF formats after installing Office 365 Version 2108.
Observed behavior
The VBA export process fails entirely. Reinstalling Office temporarily resolves the issue, but the error returns once Office automatically updates to Version 2108 again.
Before you start

Always create a secure backup copy of your original ACCDB database files before applying compatibility updates or modifying VBA code to prevent accidental data loss during recompilation.

Solution 1Recommended

Recompile the ACCDE/MDE File in the New Office Version

Resolve version conflicts caused by the Office 365 update by recompiling your database source file in the newer environment.

The update to Office 365 Version 2108 introduced changes that can break compatibility with compiled VBA code (ACCDE or MDE files) created in older versions of Access. To fix this permanently without disabling updates, you must generate a new compiled file using the updated software.

1
Locate your source database

Find the original, uncompiled ACCDB or MDB source file of your database, rather than the compiled ACCDE or MDE version you are currently using.

2
Open and compile in the new environment

Open the source file using the updated Microsoft Access (Version 2108 or later). Press ALT + F11 to open the VBA Editor, click 'Debug' on the top menu, and select 'Compile [Project Name]'.

3
Create a new ACCDE file

Once compiled without errors, go to 'File', select 'Save As', choose 'Make ACCDE' under the 'Save Database As' options, and click 'Save As' to generate a fresh compiled file.

4
Deploy the updated file

Replace the failing ACCDE/MDE file with the newly generated version and test the VBA export functionality to ensure MS-DOS text and RTF exports work correctly.

Test Deployment: Always test the newly compiled ACCDE file on a single workstation to confirm the export scripts function properly before rolling it out to all users.
Free Microsoft Office alternative

Looking for a Lighter, Hassle-Free Office Suite?

While Microsoft Access requires complex VBA troubleshooting after updates, many everyday data and document tasks can be handled without heavy database software. WPS Office provides a free, lightweight, and highly compatible alternative for your document, spreadsheet, and presentation needs, free from disruptive forced updates.

  1. 1. Download and install: Visit the official WPS website to download the free, lightweight installer for your operating system.
  2. 2. Open your existing files: Launch WPS Office and directly open your existing Microsoft Office documents, spreadsheets, and presentations with perfect formatting.
  3. 3. Edit without interruption: Enjoy a stable editing environment where you control the update schedule, preventing sudden feature breakages.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight installation that runs smoothly without bogging down your system with heavy background updates.Easily manage data exports, filtering, and formatting in WPS Spreadsheet without relying on complex VBA compiled files.Familiar, intuitive user interface that requires zero learning curve for a seamless migration.
QA img-9

Frequently Asked Questions

Why did my Access VBA export stop working after the Office 365 Version 2108 update?

The Office 365 Version 2108 update introduced structural changes to how Access handles compiled VBA code (ACCDE/MDE files) generated from previous versions. This version conflict breaks specific VBA execution commands, including outputting data to MS-DOS text and RTF formats.

Will reinstalling Microsoft Office permanently fix the Access VBA export error?

No. Reinstalling Office only temporarily rolls back the software version. Unless you explicitly disable automatic updates in your Account settings, Office 365 will eventually reinstall Version 2108 in the background, causing the VBA export error to return.

How can I fix the ACCDE version compatibility error in Access?

You need to open the original source database (ACCDB or MDB file) using the newly updated version of Microsoft Access, recompile the VBA project via the VBA Editor, and then save it as a new ACCDE file. This ensures the compiled code matches your current Office environment.

Can I export Access data to text or RTF without using VBA?

Yes, you can manually export your data. Select the desired table or query in the navigation pane, go to the 'External Data' tab on the ribbon, and choose 'Text File' or 'Word RTF File' from the Export group to launch the manual Export Wizard.