Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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

1 solution

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
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900