Solved

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

Posted on 2009-05-12
2
1,179 Views
Last Modified: 2012-05-06
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".
0
Comment
Question by:FW_Helpdesk
2 Comments
 
LVL 13

Expert Comment

by:Brian Withun
ID: 24364350
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
0
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 500 total points
ID: 24366103
Hello FW_Helpdesk,

Check the references in your VBA project, and see if any are listed as missing.

Regards,

Patrick
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now