Solved

Excel Module error when opened or exited

Posted on 2012-04-12
1
1,514 Views
Last Modified: 2012-04-13
Hi,
One of our users updated their PC yesterday and after the reboot everytime he opens excel he gets the following error message with the title Micrososft Visual Basic;
"Compile error in Hidden module: modMain"
I have read that it's an Adobe problem and following http://support.microsoft.com/kb/307410
hasn't helped. In fact i have removed the Adobe add on altogether.

When clicking help i get the following message;


Compile error in hidden module: <module name>
A protected module can't be displayed. This error has the following cause and solution:
•      There is a compilation error in the code of the specified module, but it can't be displayed because the project is protected.
Unprotect the project, and then run the code again to view the error.


Any ideas greatly appreciated.

Thanks
0
Comment
Question by:SWCG
1 Comment
 
LVL 1

Accepted Solution

by:
SWCG earned 0 total points
ID: 37837299
Hi,
Sorry found the solution i deleted all the .xla files in the startup and it worked. Just need to find out if needed those files now though :)
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

860 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