How to obtain specific Excel object library without the corresponding Office version installed.

Posted by james-h-l on Stack Overflow See other posts from Stack Overflow or by james-h-l
Published on 2010-04-29T16:40:28Z Indexed on 2010/04/29 16:57 UTC
Read the original article Hit count: 247

Filed under:
|

I am developing a Excel automation app that read and write to Excel spreadsheet. I have Office 2007 installed on my machine. I therefore can reference the Excel 12.0 Object Library and the Excel 5.0 Object Library. I don't want to use Excel 5.0 because it's really quite old and poorly documented. Therefore I'm referencing Excel 12.0.

However the target machine have Office 2003 installed and therefore only have Excel 11.0. So when I compile my program it crashes on the target machine since the referenced library are different.

I was wondering is there a way I could obtain the Excel 11.0 without installing Office 03? I tried to find answers from msdn and microsoft support page but couldn't find anything? This is quite strange since it could also happen in the future where developers has newer editions of Office than clients?

© Stack Overflow or respective owner

Related posts about c#

Related posts about ms-office