Hi TT
I have the following code to make a excel sheet
Dim oExcel As Object
Dim oBook As Object
Dim oSheet As Object
'Start a new workbook in Excel.
oExcel = CreateObject("Excel.Application"
oBook = oExcel.Workbooks.Add '***
oSheet = oBook.Worksheets(1)
but the line with *** fails and a error code says:
Old format or invalid type library.
I use Microsoft Excel 10.0 Object Library, I have excel 2002 SP2 (10.4524.4219), and I use VB .NET
Hope you can help me
\Bo
I have the following code to make a excel sheet
Dim oExcel As Object
Dim oBook As Object
Dim oSheet As Object
'Start a new workbook in Excel.
oExcel = CreateObject("Excel.Application"
oBook = oExcel.Workbooks.Add '***
oSheet = oBook.Worksheets(1)
but the line with *** fails and a error code says:
Old format or invalid type library.
I use Microsoft Excel 10.0 Object Library, I have excel 2002 SP2 (10.4524.4219), and I use VB .NET
Hope you can help me
\Bo