Below is one teh solution which worked on my users machine when they upgraded from MS Office 2003 to MS Office 2007 & also when their OS upgraded. See if it helps you
Often malware or macro viruses can corrupt Microsoft Word 2010 or Excel 2010 to give you startup messages which match any of the following combinations:
Compile error in hidden module: AutoExec
Compile error in hidden module: DistMon
Compile error in hidden module: AutoExecNew
These errors occur if your startup file in Microsoft Word or Excel has become corrupt, this can happen due to malware or a plugin that has corrupted the files:
ComctlLib.exd
MSComctlLib.exd
To stop the error from appearing when you start Microsoft Word or Excel, do the following:
1) Close all Microsoft Office products that you have open.
2) perform the following, depending on your operating system
If in Windows XP open the following folder and rename the two files above so that they end in .old
C:\Documents and Settings\USERNAME\Application Data\Microsoft\Forms where USERNAME is the current user
If in Windows Vista open the following folder and rename the two files above so that they end in .old
C:\Users\USERNAME\AppData\Roaming\Microsoft\Forms where USERNAME is the current user
If in Windows 7 open the following folder and rename the two files above so that they end in .old
C:\Users\USERNAME\AppData\Roaming\Microsoft\Forms where USERNAME is the current use
3) After renaming the files open the Microsoft Office products, e.g Excel and you will see the error has gone.
This compile error in hidden module fix was researched and tested on Microsoft Office 2010 products using Windows 7 64bit Edition