Solved

Microsoft Office Object Libraries for Multiple Versions of Excel

Posted on 2012-03-15
2
422 Views
Last Modified: 2012-03-23
Hi.  I need to develop a C# Excel add-in for multiple versions of Excel: Excel 2003, Excel 2007, and Excel 2010.  Do I need to change the referenced version of the Microsoft Office Object Library--11.0, 12.0, and 14.0--, recompile, and create a different installer for each version of Excel?  Hopefully, there is an easier way?  Thank you.
0
Comment
Question by:deatc
2 Comments
 
LVL 41

Accepted Solution

by:
dlmille earned 500 total points
ID: 37727186
You COULD do that.

However...........
You should find this post useful, and while it talks about office 2003 + 2007, I'm positive the concept extends to Office 2010.

It appears you can develop one version compatible with 2003, or you can develop the 3 projects then put the code in a shared assembly.

http://msdn.microsoft.com/en-us/library/bb772080(VS.90).aspx

Dave
0
 

Author Closing Comment

by:deatc
ID: 37758715
Thanks, Dave!
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question