Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET MSExcel
Hi all,
 
I'm currently writing code to operate Excel using Vb.NET WinForms. I adding the reference in COM tab. The reference name is Microsoft Excel 14.0 Object Library.
 
I'm installing only Ms Office 2010. But can this reference can be use when I run the program in computer which installing Ms Office 2003?
 
If not, could someone give me a link to overcome this? Which mean, a reference which compatible for Excel 2003 also or *.xls file. Should I download the reference or what..tq
Posted 25-Feb-13 19:20pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

No, better use the Office interop assemblies. They are installed in GAC when you install Offices or its application, so just use the ".NET" tab of the "Add Reference" window.
 
—SA
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 510
1 CPallini 330
2 OriginalGriff 215
3 George Jonsson 120
4 ChauhanAjay 104
0 OriginalGriff 6,464
1 Sergey Alexandrovich Kryukov 5,915
2 CPallini 5,175
3 George Jonsson 3,559
4 Gihan Liyanage 2,522


Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 26 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100