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,175 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Outlook Free & Paid Tools
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…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

757 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

21 Experts available now in Live!

Get 1:1 Help Now