Computer Forum Forum Index
Register  FAQ Profile Log in to check your private messages Log in Register 

Ignore or replace Compile Error

 
Post new topic   Reply to topic    Computer Forum Forum Index -> microsoft word vba beginners
View previous topic :: View next topic  
Author Message
Rue
Guest





PostPosted: Thu Dec 06, 2007 3:26 am    Post subject: Ignore or replace Compile Error Reply with quote

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
Back to top
Google
Sponsor





PostPosted: Thu Dec 06, 2007 3:26 am    Post subject: Advertisement

Back to top
Tony Strazzeri
Guest





PostPosted: Mon Dec 24, 2007 5:11 am    Post subject: Re: Ignore or replace Compile Error Reply with quote

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.


On Dec 6, 2:26 pm, "Rue" <r...@cu.com> wrote:
Quote:
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Computer Forum Forum Index -> microsoft word vba beginners All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Computer Forum