I was trying to make a mde file but was coming up with the "compile errors in hidden modules" error which stopped the process half way through. It looked like 3 forms were the cause. These forms were fine in the past but some how had been corrupted. To fix it I created a new form, copy and pasted all form buttons and text boxes etc from the original to the new one. Then went in to the code and copied each event procedure seperately to each matching item in the newly created form. Even though all information is identical it fixed the 3 forms and I can now compile it into an mde file. Hope this helps someone.