Others

How to Fix the MDE Type Library Error in Access 2016

Anum MushtaqAnum Mushtaq Oct 26, 2026 869 views

Question details

Users are encountering a VBA project compilation and library reference error when attempting to open legacy database files in Access 2016.

How to Fix the MDE Type Library Error in Access 2016
Product
Microsoft Access 2016
Device & OS
Windows
Scenario
Opening a compiled MDE database file in Access 2016, particularly after installing recent Windows or Office updates.
Observed behavior
The application fails to load the file properly and displays the error message: 'Requested type library or wizard is not a VBA project.'
Before you start

Ensure you have access to the original, uncompiled MDB source file, as compiled MDE files cannot be edited directly to fix VBA reference issues.

Solution 1Recommended

Check References and Recreate the MDE File

The most reliable fix is to resolve missing type library references in the original uncompiled database and generate a fresh MDE file.

Because an MDE file is compiled, its VBA code is locked and cannot be modified. To fix reference errors caused by system updates, you must edit the source MDB file.

1
Open the Source File

Launch Microsoft Access 2016 and open the original MDB file used to create the faulty MDE.

2
Open the VBA Editor

Press the ALT + F11 keys simultaneously to open the Visual Basic for Applications (VBA) editor.

3
Inspect Library References

In the top menu bar, click on 'Tools' and select 'References'. Look for any items in the list that start with 'MISSING:'.

4
Fix Broken References

Uncheck the missing references if they are no longer needed, or browse your system to locate the correct path for the updated library files, then click 'OK'.

5
Compile and Save as MDE

Go to 'Debug' > 'Compile', save your changes, and then use the database utilities in Access to create a new MDE file.

Check References and Recreate the MDE File
Keep Backups: Always create a secure backup of your original MDB source file before making changes to its VBA references.
Free Microsoft Office alternative

Upgrade Your General Office Productivity with WPS Office

While resolving complex legacy database issues, you can simplify the rest of your daily workflow. WPS Office is a lightweight, completely free alternative to Microsoft Office that provides robust document, spreadsheet, and presentation tools without the compatibility headaches.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installation package.
  2. 2. Install the Software: Run the setup file and follow the straightforward on-screen instructions.
  3. 3. Start Creating: Open WPS Office to instantly access Writer, Spreadsheet, and Presentation applications.
Fully compatible with Microsoft Office formats including DOCX, XLSX, and PPTX.Lightweight installation that runs fast on both older and modern Windows systems.Intuitive tabbed interface that eliminates the learning curve for Office users.Integrated PDF editing toolkit for seamless document conversion and management.
microsoft office alternative - wps office

Frequently Asked Questions

Why can't I edit the VBA references directly in the MDE file?

MDE files are compiled and locked versions of Access databases. The human-readable source code is stripped out to protect intellectual property and improve performance. Therefore, VBA references and code cannot be altered in an MDE file; you must edit the original MDB file instead.

What causes broken references in Access 2016 after a Windows update?

Windows or Office updates may replace, move, or deregister certain system DLLs or ActiveX controls. When Access attempts to load a library from its previous location, the connection fails, resulting in a 'Requested type library or wizard is not a VBA project' error.

Is it absolutely necessary to convert MDB files to ACCDB?

While not strictly mandatory if your current environment still supports it, Microsoft has deprecated the legacy MDB format. Converting to ACCDB ensures long-term compatibility, better security, and access to modern database features in Access 2016 and newer.