Hello all, hopefully you can help.
I have a C# app that creates Excel reports. I have Excel 2000 on my pc and have a reference to Microsoft Excel 9.0 object library.
This works for other users with pc's having Excel 2000 installed.
Now I have a set of users with Excel 2003 and my application gets an activex error cannot create object. I can't install Excel 2003 on my pc to get the Primary Interop Assembly.
Code:
Excel.Application objExcel = new Excel.Application(); //Error users with 2003
How can I have my application work for users of both Excel versions?
Thanks