No of visitors who read this post: 853
Category: MS Excel
Type: Question
Author: Justin Hill
Your rating: None Average: 5 (21 votes)


Whenever I start up Microsoft Office Word or Excel on my computer, I get the following error message:

Compile error in hidden module

I have the option to click on ok and once I do so I can proceed and work in the Excel file.

This is a bit irritating since it pops up whenever I open any Word or Excel file.

Is there a solution to this error?

And what exactly does it mean?

It was not there before. I did a repair of my Microsoft Office 2003 installation but this did not help.

I still have the error message.

Please help.

Thanks in advance.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

# Comment Id: 14398

Hi Brice here,

The problem you are having is caused by either your Microsoft Office Excel start up folder or Microsoft Office Word start up folder that contains both the file and Pdfmaker.xl. To fix this problem:

  1. Go to Start and click Search then Files and folders.
  2. In there search the files and Pdfmaker.xl.
  3. In the Lock in box, click the disc drive where Windows is installed, normally C: and then click Search Now.
  4. In the search result window, right click the file for each file that is found and then click Cut.
  5. Paste the files in My Documents.

# Comment Id: 111189

Hello justin,

This kind of compile error in hidden module actually happens in three files.

These are AutoExec, DistMon, AutoExexNew.

This files corrupts the ComctlLib.exd file so this happens. Now to overcome this you first should scan your PC using an antivirus, probably you will get few malware.

First delete those, now uncheck all the add-ins then go to this location: C:\Documents and Settings\<username>\Application Data\Microsoft\Excel\XLSTART.

Move everything from that directory and close excel. Restart the excel.

Thank you,

Riley weaver