Two excel version conflict?
it's C# code, I am not sure if this is the right place...
please let me know if there're somewhere else I can put this question to...
"feather" wrote:
my program worked fine with excel 2002, but when my user installed an old
excel version 2000 (i.e. the user has 2002 and 2000 on his pc now), my
program throw exception when calling the open function...please help...
my code:
oExlApp = new Excel.Application();
oExlApp.Visible = false;
oExlWB = (Excel._Workbook) oExlApp.Workbooks.Open(strSrcFileName,
Missing.Value, true, Missing.Value, Missing.Value, Missing.Value,
Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value,
Missing.Value, Missing.Value, Missing.Value , Missing.Value);
|