Link to home
Start Free TrialLog in
Avatar of FW_Helpdesk
FW_Helpdesk

asked on

Getting MS Visual Basic error-"Compile error in hidden module; This Outlook session" after being upgraded to office 2007

Upgraded an end user from Office 2003 to Office 2007. Outlook works except an error message pops up "Compile error in hidden module; This Outlook session".
Avatar of Brian Withun
Brian Withun
Flag of United States of America image

There are apparently some VBA macros inside Outlook.  You can open the VBEditor and look in the project listing for any included modules.

Go into each of the modules in VBE and manually compile them.  The one that is causing the startup error will fail to compile, and it may show you the line that is failing.

I think that it ordinarily opens VBE on this error anyway, unless the VBA mdoule is protected from viewing.  If that is the case you'll need to enter the password in VBE before you can see the source code line causing the problem.

I wouldn't expect that some code would suddenly fail to compile in 2007 which had compiled in 2003, but it's possible I guess.  More likely is that the error has always been there, but for whatever reason, you're only hearing about it now.

Brian Withun
ASKER CERTIFIED SOLUTION
Avatar of Patrick Matthews
Patrick Matthews
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial