Ignore or replace Compile Error

R

Rue

Hi all

In a template, I need to ignore this error :
Compile Error: Can't find project or library

The template references a dll that not all users have installed.
I have tried On Error Resume Next & On Error GoTo

Is this possible with this error?

Thanks in advance
 
T

Tony Strazzeri

I don't think this is possible. You could try changing the approach
by making the reference at runtime. That way you could check first if
the dll is available but then of course you can't have any references
to the dll in your code anyway _ I think this is called "early
binding". You would need to use "late binding".

Hope this helps
Cheers
TonyS.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top