How to set references to different versions of excel, outlook, etc..

We have an application that has references set to both excel07 and outlook07.  We now have some users that want to use this application but they are running excel03 and outlook03.  How do I handle that situation?
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

Patrick MatthewsConnect With a Mentor Commented:
>>How do I handle that situation?

The best way to handle it, if your end users are on a mixture of Office versions, is to eschew early binding--thus doing away with references--and use late binding instead.

This is a nice introduction to the topic:
Scott McDaniel (Microsoft Access MVP - EE MVE )Connect With a Mentor Infotrakker SoftwareCommented:
The only big "gotcha" with Late Binding is that you MUST use functions/methods/constants which are available in every version you must support. For example, if you use Late Binding with Excel, and you call a function that is available ONLY in Excel 10.0 or later, then users running Excel 9.0 will still throw an error. Generally this isn't a big deal, but you should be aware of it.

snyperjAuthor Commented:
Thanks for the help.  I will have more questions on this as I move forward but wanted to go ahead and close this ticket out.
All Courses

From novice to tech pro — start learning today.