Share via

Change object library reference with VBA

Anonymous
2015-11-18T16:50:14+00:00

I manage several MS Access 2010 applications on 500+ computers which use the Outlook 14.0 Object Library to send email reports and notices.  Our corporate IT recently notified me that all new PCs installed here will be running Office 2013 so I am anticipating a problem with those systems not working with the current Outlook library.  Is there a way via VBA to set the correct library reference based on the version of Office running the Access app?

Mike...

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2015-11-18T17:54:53+00:00

ciao Mike,

I suggest to change the reference from early binding to late binding...

take a look a this :

http://stackoverflow.com/questions/19184650/late-binding-to-open-outlook-from-access

with late binding no need to worry about that specific library/office version.

ciao, Sandro.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful