LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default "trap" a compile time error

I'm using an external .dll, and like the side-effect that if I try to use
it on an excel which doesn't have the .dll installed, the
spreadsheet won't run, but goes into a compile error cycle, and has
to be killed by the task manager. however, it would be better to be a bit
less brutal, and detect the absence of a reference to the .dll.
so I put a search of Application.VBE.ActiveVBProject.References into
auto-open(), with an immediate End if the name of the .dll isn't found.
unfortunately I still get the compile error cycle, even if excel has
all its tool-options-general compile options unticked. is this
something for which there is a workaround?

thanks,
Eric
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How correct (or remove) "Compile error in hidden module: DistMon" wlfoote Excel Discussion (Misc queries) 1 June 6th 09 02:57 AM
How to error trap "... cannot find the data..." message? [email protected] Excel Discussion (Misc queries) 4 August 29th 08 02:57 AM
Best way to trap error to MsgBox "Too many cell formats" [email protected] Excel Discussion (Misc queries) 0 August 22nd 06 09:52 PM
Getting "compile error" "method or data member not found" on reinstall Bp Excel Programming 1 April 23rd 04 04:42 PM
How to trap the error message "Remote Data not accessible"? rghpvf Excel Programming 0 January 7th 04 05:40 PM


All times are GMT +1. The time now is 04:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"