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?
snyperjAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
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:

http://www.granite.ab.ca/access/latebinding.htm
0
 
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.

0
 
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.
0
All Courses

From novice to tech pro — start learning today.