Thursday, July 7, 2011

compile error in hidden module: autoexecnew in word/excel

The error "compile error in hidden module: autoexecnew" shows up when word/excel is opened and the error "compile error in hidden module: distmon" shows up when its closed. This is because "pdfmaker.dot" and "pdfmaker.xla" are in the microsoft office startup and microsoft excel startup folder respectively. To remove this follow the steps:
Delete pdfmaker.dot ( for word )
1. Search the file and delete.
2. Locate the file in C:\Program Files\Microsoft Office\Office11\Startup
3. C:\Documents and Settings\User Name\Application Data\Microsoft\word\Startup


Delete pdfmaker.xla ( for excel )
1. Search the file and delete.
2. Locate the file in C:\Program Files\Microsoft Office\Office11\Xlstart
3. C:\Documents and Settings\User Name\Application Data\Microsoft\Excel\Xlstart


These files can be either in both or at one location. Once they are deleted, the error will no longer show up.