How to Convert an Access ACCDE or EXE File Back to ACCDB
Question details
The user needs to recover data or import tables from an old Microsoft Access database that was converted to an ACCDE or an executable (EXE) file.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Attempting to extract original data, tables, or queries from a compiled Access database file to use in a new database.
- Observed behavior
- The database is currently in ACCDE or EXE format, which locks forms, reports, and VBA code, preventing direct editing or full conversion back to the original editable ACCDB format.
Before attempting to extract data, ensure you identify whether your file is an ACCDE or a true EXE, and make a secure copy of the file to avoid accidental data corruption.
Import Tables and Queries from ACCDE to a Blank ACCDB
Use this method if your file is in ACCDE format. While forms and VBA code are locked, you can successfully salvage your raw data and queries.
An ACCDE file is a compiled version of an ACCDB file where all VBA code is removed and design views are locked. Because of this one-way compilation, you cannot simply 'save as' back to ACCDB. However, the data tables and queries remain accessible.
Open Microsoft Access and create a new, blank desktop database (ACCDB) where you will store the recovered data.
Click on the 'External Data' tab located on the top ribbon of the Access interface.
Click on 'New Data Source', hover over 'From Database', and select 'Access'.
Browse to select your original ACCDE file, choose the option to 'Import tables, queries, forms, reports, macros, and modules into the current database', and click OK.
In the Import Objects dialog box, select all the tables and queries you wish to recover, then click OK to import them into your new ACCDB file.

Extracting Data from a True EXE Database File
If the file is a true .exe rather than an .accde, it was likely packaged using a third-party developer tool and requires a different approach.
Looking for a Lightweight and Free Office Suite?
While WPS Office does not include a database management tool like Access, it is a powerful, free alternative for Word, Excel, and PowerPoint. Once you export your Access tables to CSV or Excel formats, you can easily open, analyze, and visualize your data using WPS Spreadsheets.
- 1. Export Access Data: Use Microsoft Access to export your tables as .xlsx or .csv files.
- 2. Open with WPS Spreadsheets: Launch WPS Office, click 'Open', and select your exported data file to analyze it without needing an Access license.

Frequently Asked Questions
Can I fully convert an ACCDE back to an editable ACCDB?
No. The conversion to an ACCDE file is a one-way process that removes the original VBA source code and locks the design view for forms and reports. You can only extract raw data like tables and queries into a new ACCDB.
What happens to my forms and VBA code in an ACCDE file?
In an ACCDE file, forms, reports, and VBA modules are compiled into executable code. They will continue to function normally for users, but they cannot be viewed or modified in Design View.
How do I open a database that was saved as an EXE file?
Microsoft Access does not natively save files as EXE. If you have an EXE database, it was packaged using a third-party tool. You must either use that application's built-in export features to retrieve your data or contact the original developer for the source file.




