PC Review


Reply
Thread Tools Rate Thread

"Compile error in hidden module: This WorkBook" only appears whenproject locked

 
 
Craig
Guest
Posts: n/a
 
      17th Dec 2007
I am getting the error message "Compile error in hidden module: This
WorkBook" when I try to run an Excel VBA macro from a toolbar button.
I looked around and found that this happens when a project is locked,
so I unlocked it, expecting to be able to debug now, but surprisingly,
now it works. Unfortunately I cannot allow these Excel macros to be
distributed unlocked because they contain clear-text passwords. It
only happens when I launch Microsoft Excel 2003 normally; if I
directly open the .xls file that contains the macros, it works fine.
Is there anything I can do?
 
Reply With Quote
 
 
 
 
Ian Gooden
Guest
Posts: n/a
 
      22nd Nov 2009
Hi there,

Did you possibly get an answer to your problem - I have the same issue here.
The code etc. works on my machine and a few of my clients but now suddenly on 2 customers - I get the error "Compile Error in Hidden Module: MainPage"

I'm really confused???

Cheers,

Ian



Craig wrote:

"Compile error in hidden module: This WorkBook" only appears when project locked
18-Dec-07

I am getting the error message "Compile error in hidden module: Thi
WorkBook" when I try to run an Excel VBA macro from a toolbar button
I looked around and found that this happens when a project is locked
so I unlocked it, expecting to be able to debug now, but surprisingly
now it works. Unfortunately I cannot allow these Excel macros to b
distributed unlocked because they contain clear-text passwords. I
only happens when I launch Microsoft Excel 2003 normally; if
directly open the .xls file that contains the macros, it works fine
Is there anything I can do?

Previous Posts In This Thread:

EggHeadCafe - Software Developer Portal of Choice
TreeView - JavaScript IE / FireFox IFRAME Combination
http://www.eggheadcafe.com/tutorials...script-ie.aspx
 
Reply With Quote
 
Tim Williams
Guest
Posts: n/a
 
      22nd Nov 2009
That post you're replying to is almost 2 years old...

The error you're seeing is often a result of a missing reference on the
client PC. You'd need to unlock the project and go to "Tools > references"
in the VBE to see what's flagged as "missing".

Tim

<Ian Gooden> wrote in message news:(E-Mail Removed)...
> Hi there,
>
> Did you possibly get an answer to your problem - I have the same issue
> here.
> The code etc. works on my machine and a few of my clients but now suddenly
> on 2 customers - I get the error "Compile Error in Hidden Module:
> MainPage"
>
> I'm really confused???
>
> Cheers,
>
> Ian
>
>
>
> Craig wrote:
>
> "Compile error in hidden module: This WorkBook" only appears when
> project locked
> 18-Dec-07
>
> I am getting the error message "Compile error in hidden module: This
> WorkBook" when I try to run an Excel VBA macro from a toolbar button.
> I looked around and found that this happens when a project is locked,
> so I unlocked it, expecting to be able to debug now, but surprisingly,
> now it works. Unfortunately I cannot allow these Excel macros to be
> distributed unlocked because they contain clear-text passwords. It
> only happens when I launch Microsoft Excel 2003 normally; if I
> directly open the .xls file that contains the macros, it works fine.
> Is there anything I can do?
>
> Previous Posts In This Thread:
>
> EggHeadCafe - Software Developer Portal of Choice
> TreeView - JavaScript IE / FireFox IFRAME Combination
> http://www.eggheadcafe.com/tutorials...script-ie.aspx



 
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
Re:"compile error in hidden module": DISTMOD -- ideas to fix it?? Clare Microsoft Excel Misc 3 29th May 2008 01:44 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 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.