Use case
Access 64-bit compatibility check: will your database run on 64-bit Office?
A new PC with Microsoft 365, and the database that worked yesterday now says “The code in this project must be updated for use on 64-bit systems”. The diagnostic tells you, before or after the switch, what breaks, where, and what to change.
What you see
Since Office 2019 and Microsoft 365, the 64-bit edition is the default install. An Access application written for 32-bit Office may then stop as soon as it opens, or only on some forms. The messages Access shows:
This page is about the checking tool. To understand the error and fix it yourself, step by step, read our guide on how to fix an Access application that no longer opens on 64-bit Office.
Compile error: The code in this project must be updated for use on 64-bit systems. Please review and update Declare statements and then mark them with the PtrSafe attribute.
- “Compile error: Can't find project or library”: a reference points to a library that is missing on the PC, often a component that only exists in 32-bit (see that error);
- an ActiveX control (calendar, grid, progress bar) that no longer shows, or a form that refuses to open;
- built-in Access functions suddenly “unknown” in queries, because a module no longer compiles.
Why it is hard to find by hand
The VBA compiler stops at the first line it rejects. You fix one Declare, compile again, and it flags another one in another module. An application can also work almost everywhere except on the form nobody opens until year-end. What you need is the complete list: every declaration, every reference, every form affected.
For the background, read why an Access application stops opening on 64-bit Office, and the Office end-of-support timeline to see when this will hit you.
What the diagnostic reports
The program copies your application, opens it in Access in the background, then tries every form, every report, every query and the safe buttons, recording what Access answers. It also reads the VBA code and the project references. On this topic it reports:
- every
Declarestatement withoutPtrSafe, with its module, line and name: a high longevity risk, flagged even when the analysis runs on 32-bit Office; - a proposed fix for those declarations: today's line and the suggested line (
Declare PtrSafe, andLongPtrfor handles and pointers), for your developer to review; - on 64-bit Office, the forms, reports and buttons that depend on them, marked “fails on 64-bit Office”: one cause, counted once, instead of twenty separate faults;
- broken references and libraries that only exist in 32-bit or that Office no longer ships (old DAO 3.x library, Calendar control, Office Web Components).

What it does not do
The diagnostic does not change your application: it tells you what to change, it does not change it. It does not try anything that could have an effect outside the copy (printing, email, deletions, writing a file): those items are listed as “to check” by hand. Anything it could not reach is marked “not verified”. A reference that is broken on the analysis PC but present on yours is not counted as a fault: it is reported separately.