Thanks!
I have now change my code to this:
Dim xlsApp As New Excel.Application
Dim wbNew As Excel.Workbook = xlsApp.Workbooks.Add()
Still I get the same error on the second line.
Hello.
I get an 'System.Runtime.InteropServices.COMException' with Additional information: 'Old format or invalid type library.' when adding a workbook in an instance of Excel from VB.Net.
This is the latest code I've tried:
Dim xlsApp As Excel.Application
xlsApp =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.