I've had a couple of cases where a database was working just fine, I made some seemingly simple modifications to the VBA code and then starting getting DLL errors. Extensive research prompted me to comment out the new code, recompile, etc., etc., slowly putting back the new code section by section. Much to my amazement this took care of my particular DLL problem.
I should say that only one database had this problem, the others were working just fine.
Sounded like hocus-pocus when I read about it, but I was sufficiently desperate to give it a try.
HTH
JSouth
---------------------------------------
The customer may not always be right, but the customer is ALWAYS the customer.