How do I add a reference to an object library using VBA?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does anyone have code to do the above?

I would like to distribute an Excel application referencing the Outlook
Object Library. However, because they might have different versions of
Outlook I need to be able to load whichever is applicable to their PC.

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

Back
Top