Solved

Microsoft Office Object Libraries for Multiple Versions of Excel

Posted on 2012-03-15
2
419 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now