problem with reference

W

William Benson

I am trying to use some code from Ron de Bruin's Excel pages. I tried to add
a reference to Microsoft Outlook 11.0 Object Library, and am getting "Name
conflicts with existing project, module, or object library". I removed every
reference I could to see which was the conflict, and now have only:
Visual Basic for Applications
Microsoft Excel 11.0 Object Library
Microsoft Forms 2.0 Object Library

I looked for redundant sub names, none ... Anyone know what is my issue pls?
 
T

Tom Ogilvy

This often happens when you create a reference to a workbook where the
default name is vbaproject and causes a conflict with the workbook
containing the reference which is also named vbaproject. This may not be
your situation, but it is the most common situation where I have seen this
message.
 
W

William Benson

Nothing open but Personal.Xls Tom ... I am stumped (and oh by the way, shut
out of Ron's nice code samples)
 
W

William Benson

I think the module name was a no-no... I had named it "Outlook" and was
trying to make a reference to Object Library for Outlook.

I got rid of the module, and I could make the reference.

Thanks
 

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