Solved

Microsoft Office Object Libraries for Multiple Versions of Excel

Posted on 2012-03-15
2
427 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 42

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

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

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

Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

724 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