I would like to import some Excel data and are using Excel
2003 on my development system. The workstations using this
application have Excel 2000 installed. Because of this the
Excel 11.0 object reference is not working on the
workstations. I tried to include the Excel 9.0 object
library but after making a setup for the application,
setup is still including the 11.0 libraries.
Is it possible to run the application with the Excel 11.0
object library on a system with Excel 2000 installed?!
Thanx!
Ramon
P.S.: if possible, please reply to my email address
Paul Clement - 29 Dec 2003 14:15 GMT
¤ I would like to import some Excel data and are using Excel
¤ 2003 on my development system. The workstations using this
¤ application have Excel 2000 installed. Because of this the
¤ Excel 11.0 object reference is not working on the
¤ workstations. I tried to include the Excel 9.0 object
¤ library but after making a setup for the application,
¤ setup is still including the 11.0 libraries.
¤
¤ Is it possible to run the application with the Excel 11.0
¤ object library on a system with Excel 2000 installed?!
¤
Typically you need to use the type library of the lowest version supported. You can't include
references to multiple versions.
The other alternative is to use late binding (no library references) by using the generic Object
variable instead of type specific objects (such as Excel.Application).
HOW TO: Use Visual Basic .NET for Binding for Office Automation Servers
http://support.microsoft.com/default.aspx?scid=kb;EN-US;304661
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)