Name conflict

G

Guest

I get an error message for "Name conflicts with existing module, project...".

What error trapping can I do to bypass if the "ref" is already set:
Set ref = References.AddFromFile(strfilename)

Thanks for any help.
 
P

pietlinden

I get an error message for "Name conflicts with existing module, project...".

What error trapping can I do to bypass if the "ref" is already set:
Set ref = References.AddFromFile(strfilename)

Thanks for any help.

On Error Resume Next?
 

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

Similar Threads

Remove a Reference Library from code 2
Setting a reference to a libray in code 9
Reference 3
Can't rename a forms 4
XP & Vista ADOX Library 2
Name Conflict 3
Name Conflict 2
Error 1

Top