ThienZ Posted March 16, 2005 Posted March 16, 2005 I've read some posts in this forum to open Excel from C# and most of them have this : using Microsoft.Office.Interop.Excel; i only have "Microsoft.Office" or "Microsoft.Office.Core", is this caused from the different version of the com references? Quote
ThienZ Posted March 16, 2005 Author Posted March 16, 2005 i uninstalled my english version of Office 2003 and installed the german one and now i have Microsoft.Office.Interop.Excel too like all others ^^;; Quote
SonicBoomAu Posted March 16, 2005 Posted March 16, 2005 Make a reference to Microsoft Excel 10.0 Object Library (number is dependant on the version installed). This will give you the ability to receive the "Microsoft.Office.Interop.Excel" reference. Quote Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -- Rick Cook, The Wizardry Compiled
filip Posted July 14, 2009 Posted July 14, 2009 Hi, using Interop is not best way to work with Excel in .NET. You can try using GemBox .NET Excel component which is free for commercial use (limit is 150 rows). Here is a list of reasons why GemBox.Spreadsheet is better then Excel Interop and Excel Automation Quote
Recommended Posts