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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Patrick MatthewsCommented:
>>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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rey Obrero (Capricorn1)Commented:
0
Scott McDaniel (Microsoft Access MVP - EE MVE )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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.