I have a simple "Public Function" that compiles without errors and runs correctly without errors. (The Run Code macro is AutoExec)
I "Run to Cursor" in debug with a test sub and all works as expected.
If I try to "Open" the accdb or create a accde, I get an error Access can't find a macro. Same thing with "Compress & Repair"Code:Public Sub TestMedCheck() Call MedCheck(0) End Sub