Name conflict

L

Lamar

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?
 
Top