Compile error in hidden module. Module 1

neo2

New Member
Joined
Jul 22, 2010
Messages
33
Hi Guys,

I am getting the above error message whenever I try to open up my spreadsheet. I am using excel 2010 currently but the sheet was created in excel 2007. How can I solve this ?

Neo
 
I have the same problem, but cannot select "references" from the tool menu as it is greyed out, any suggestions? Thanks.
 
Upvote 0

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
You can't change the references if code is running (click the Stop button on the toolbar in the VB Editor) or if the project is protected.
 
Upvote 0
I had this error as well because my code was secured by a password. Once I opened the code editor and unlocked, it gave me a normal error message that I could debug.
 
Upvote 0
A compile error can also occur as result of 32- and 64-bit Excel conflicts (i.e. file includes macros created in Excel 32-bit, but has an error when opened by someone running 64-bit Excel)
 
Upvote 0
A compile error can also occur as result of 32- and 64-bit Excel conflicts (i.e. file includes macros created in Excel 32-bit, but has an error when opened by someone running 64-bit Excel)

Dear All,

Yes This Is true , 32 Adding run in 64 bit Office cause this.

But What is solution if we want to run this macro(32 bit) in 64 bit?

Regards,

Chirag Raval
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top