PC Review


Reply
Thread Tools Rate Thread

Compile error in hidden module: "Module Name"

 
 
Eric
Guest
Posts: n/a
 
      4th Mar 2008
Hello,

I have been using Excel 2000 & 2003 to write macros and addins that would
run on both Excel 2000 & 2003. Recently I have install SP3 on my Excel 2003
machine and now whenever I save my addins with this version it does not run
anymore in Excel 2000. I now get the message: "Compile error in hidden
module: ModuleName".
I Googled the error and the only solution I found was to update Adobe
Acrobat, solution definitely not related to my problem...

Any idea?


Thank you.

Eric


 
Reply With Quote
 
 
 
 
Jim Thomlinson
Guest
Posts: n/a
 
      4th Mar 2008
Do your addins still compile on a 2000 machine? As a guess when you got the
upgrade it has changed a reference such as Microsoft ActiveX Data Objects or
such. On the 2000 machine try to compile. Also look at the Tools ->
References and look for anything marked missing.
--
HTH...

Jim Thomlinson


"Eric" wrote:

> Hello,
>
> I have been using Excel 2000 & 2003 to write macros and addins that would
> run on both Excel 2000 & 2003. Recently I have install SP3 on my Excel 2003
> machine and now whenever I save my addins with this version it does not run
> anymore in Excel 2000. I now get the message: "Compile error in hidden
> module: ModuleName".
> I Googled the error and the only solution I found was to update Adobe
> Acrobat, solution definitely not related to my problem...
>
> Any idea?
>
>
> Thank you.
>
> Eric
>
>
>

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      4th Mar 2008
If you're project is protected, unprotect it and try opening it in xl2k. The
module won't be hidden and you should be taken to the line that caused the
error.

Eric wrote:
>
> Hello,
>
> I have been using Excel 2000 & 2003 to write macros and addins that would
> run on both Excel 2000 & 2003. Recently I have install SP3 on my Excel 2003
> machine and now whenever I save my addins with this version it does not run
> anymore in Excel 2000. I now get the message: "Compile error in hidden
> module: ModuleName".
> I Googled the error and the only solution I found was to update Adobe
> Acrobat, solution definitely not related to my problem...
>
> Any idea?
>
> Thank you.
>
> Eric


--

Dave Peterson
 
Reply With Quote
 
Eric
Guest
Posts: n/a
 
      5th Mar 2008
Jim,

I took a recently compiled/saved Excel 2003 addin to Excel 2000 giving the
same error and checked the references. The "Ref Edit Control" reference is
missing and the line triggering the error is: "OriginalWorkbook =
ActiveWorkbook.Name"
What's interesting is that I have sent the same addin to a friend running a
non SP3 Excel 2003 and he gets the error.
When I look at the DLL location for this reference, it points to the wrong
folder, ie ...\OFFICE11\REFEDIT.DLL. If I look at a backup of the same addin
compiled with Excel 2000, the DLL location for this reference seems right
....\office\refedit.dll, thus not missing.
Could it be possible that SP3 changed the location of that DLL? Which would
explain why it doesn't work anymore for Excel 2000 or non SP3 Excel 2003?

Thank you.

Eric

"Jim Thomlinson" <James_Thomlinson@owfg-Re-Move-This-.com> wrote in message
news:176F03D1-86EE-42AD-83BC-(E-Mail Removed)...
> Do your addins still compile on a 2000 machine? As a guess when you got

the
> upgrade it has changed a reference such as Microsoft ActiveX Data Objects

or
> such. On the 2000 machine try to compile. Also look at the Tools ->
> References and look for anything marked missing.
> --
> HTH...
>
> Jim Thomlinson
>
>
> "Eric" wrote:
>
> > Hello,
> >
> > I have been using Excel 2000 & 2003 to write macros and addins that

would
> > run on both Excel 2000 & 2003. Recently I have install SP3 on my Excel

2003
> > machine and now whenever I save my addins with this version it does not

run
> > anymore in Excel 2000. I now get the message: "Compile error in hidden
> > module: ModuleName".
> > I Googled the error and the only solution I found was to update Adobe
> > Acrobat, solution definitely not related to my problem...
> >
> > Any idea?
> >
> >
> > Thank you.
> >
> > Eric
> >
> >
> >



 
Reply With Quote
 
Eric
Guest
Posts: n/a
 
      5th Mar 2008
Dave,

It seems to be a reference location problem, different from 2000 to 2003, at
least post SP3.

Thank you.

Eric

"Dave Peterson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> If you're project is protected, unprotect it and try opening it in xl2k.

The
> module won't be hidden and you should be taken to the line that caused the
> error.
>
> Eric wrote:
> >
> > Hello,
> >
> > I have been using Excel 2000 & 2003 to write macros and addins that

would
> > run on both Excel 2000 & 2003. Recently I have install SP3 on my Excel

2003
> > machine and now whenever I save my addins with this version it does not

run
> > anymore in Excel 2000. I now get the message: "Compile error in hidden
> > module: ModuleName".
> > I Googled the error and the only solution I found was to update Adobe
> > Acrobat, solution definitely not related to my problem...
> >
> > Any idea?
> >
> > Thank you.
> >
> > Eric

>
> --
>
> Dave Peterson



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How correct (or remove) "Compile error in hidden module: DistMon" wlfoote Microsoft Excel Misc 1 6th Jun 2009 02:57 AM
"compile error in hidden module: AutoExecNew" on opening excel =?Utf-8?B?bGFuc2Jlcmc=?= Microsoft Excel Crashes 1 6th Mar 2006 08:12 PM
how to get rid of "compile error in hidden module: <module name>" =?Utf-8?B?ZWxpZSBoYXJiICA8ZWRoLmFudEBob3RtYWlsLmNv Microsoft Word Document Management 1 18th Feb 2006 01:02 PM
how to correct a "Compile error in hidden module: TBRun9" in Xcel =?Utf-8?B?R2FyeSBD?= Microsoft Excel Crashes 1 28th Oct 2005 01:29 AM
How do I correct a "Compile error in hidden module: DistMon" erro. =?Utf-8?B?QnJpbnlQZXRl?= Microsoft Excel Crashes 1 26th Nov 2004 05:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:10 PM.