Solved

Microsoft Office Object Libraries for Multiple Versions of Excel

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

730 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