ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VB.NET to Excel (https://www.excelbanter.com/excel-programming/302223-vbulletin-net-excel.html)

Yavor

VB.NET to Excel
 
Is it possible to automate all the versions of Excel with
Visual Basic.NET projects.When I have tried to do this I
have recieved the following error:
'Old format or invalid type library'
This error occurs when I tried to use VB.NET with both
Excel 2000 and Excel 2002

Stephen Bullen[_3_]

VB.NET to Excel
 
Hi Yavor,

Is it possible to automate all the versions of Excel with
Visual Basic.NET projects.When I have tried to do this I
have recieved the following error:
'Old format or invalid type library'
This error occurs when I tried to use VB.NET with both
Excel 2000 and Excel 2002


No. The interop assemblies are specific to each version of Excel, and
the first one available is for excel 2002.

Regards

Stephen Bullen
Microsoft MVP - Excel
www.BMSLtd.ie




All times are GMT +1. The time now is 02:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com