Forum Discussion
NiranjanZolto
Mar 16, 2026Copper Contributor
"File not found" error (Error 53) when opening Access database
I'm getting a "File not found" (Error 53) error when trying to open an Access database (.accdb file). The error appears during the database startup process and points to a VBA subroutine declaration ...
Tom_van_Stiphout
Mar 19, 2026Steel Contributor
Hold down the Shift key when opening the database, which bypasses the AutoExec macro (if any).
Then Alt+F11 to open VBA window.
Tools > References to check if any are listed as Missing.
Debug > Compile to check the syntax of all VBA.
Run the app again, and when the error occurs, hit Ctrl+Break to break into the debugger and look around for what code is being executed and maybe it will become apparent why a File Not Found error is being generated. If not, paste the code here, and maybe we can figure it out together.