Use case
Access 32-bit or 64-bit: how to check, why it matters
An Access database works on one PC and not on another; the consultant asks “is your Office 32-bit or 64-bit?”. The answer takes thirty seconds to find. It matters, because a database written for one does not always run on the other.
How to check, in thirty seconds
- In Access, open File › Account, then click About Access. The first line of the window ends with “32-bit” or “64-bit”. In Access 2010, the information is under File › Help.
- Or, with Access open, in Windows Task Manager: on 64-bit Windows, a 32-bit Access is followed by “(32 bit)” on the Processes tab; the Details tab has a Platform column you can display.
- Or, in the VBA editor's Immediate window (Ctrl+G), with the function below: it returns 32 or 64.

Beware the common confusion: 64-bit Windows does not mean 64-bit Office. Almost every recent Windows is 64-bit, and 32-bit Office installs on it perfectly well. What matters for your database is Office.
Why it matters
Since Office 2019 and Microsoft 365, Office installs as 64-bit by default. Many Access databases were written on 32-bit Office. On a new PC, several things can break:
Declarestatements that call Windows: without thePtrSafekeyword, the code no longer compiles — see the PtrSafe compile error;- ActiveX controls and libraries that only exist in 32-bit: calendars, grids, old libraries, which vanish from the form or cause “Can't find project or library”;
- compiled
.accdeand.mdefiles: a database compiled by 32-bit Access does not open in 64-bit Access, and vice versa; it has to be recompiled from the source file; - exchanges with other programs: an ODBC driver or an external program that reads the database must match the architecture of the installed Access engine.
Writing code that runs on both
Compatible code is written once: PtrSafe on every Declare, and LongPtr for window handles and pointers. LongPtr is a Long in 32-bit and a LongLong in 64-bit. The #If VBA7 block is only needed for very old Office versions (2007 and earlier).
32-bit or 64-bit: which to choose?
If all your databases and their add-ins are ready for 64-bit, keep the default. If a critical database depends on a 32-bit component with no equivalent, installing 32-bit Office is still possible, but it only postpones the problem: fixing the database is the lasting solution. You cannot mix the two on one PC: all the Office applications on a PC share the same architecture.
What the diagnostic checks
Auscult runs on 32-bit or 64-bit Access. On 32-bit Office, it records each Declare without PtrSafe as a risk, with the suggested line. On 64-bit Office, it also shows the forms, reports and buttons that actually stop, marked “fails on 64-bit Office”: one cause, counted once. The details are on the 64-bit compatibility check page.