Hi
I've done a lot in Excel Automation in prior C# and VB.Net Versions...but
I've no chance just to open an Excel Workbook with Visual Studio 2005. I've
go always these HRESULT-Failures...:-(
Thanks for your help...
Here's one of the code trials:
using Office = Microsoft.Office.Core;
using Excel = Microsoft.Office.Interop.Excel;
......
Excel.Application ObjExcel;
Excel.Workbook ObjExcelBook;
Excel.Worksheet ObjExcelSheet;
ObjExcel = new Excel.Application();
ObjExcel.Visible = true;
ObjExcelBook = ObjExcel.Workbooks.Open(@"C:/TMP/Test.xls", false,
true,
Type.Missing,Type.Missing,Type.Missing ,Type.Missing ,
Type.Missing,
Type.Missing, Type.Missing, Type.Missing,
Type.Missing,
Type.Missing, Type.Missing, Type.Missing);