I have the same problem, but the compile of code is correct.
the problem is I have make a reference to another Access database for reading its public modules. So If I remove the reference I haven't problem.
Can you give me a solution to make mde file with a reference to another database?