You have to install, in this order:
- Microsoft Office
- Visual Studio Tools for Office which installs the PIA's, this installs all the assemblies you need
Are you sure you are looking for version 9? This is for Office 2000.
题
I've been tasked to work on an existing .Net 2.0 Visual Studio 2012 project which contains a reference to Microsoft.Excel9.Interop, but the reference is throwing undefined errors on my machine.
I haven't been able to find anything in my research about how to solve this error or where I can find Microsoft.Excel9.Interop dll.
Does anyone have any experience with Microsoft.Excel9.Interop that can point me in the right direction?
Thank you.
解决方案
You have to install, in this order:
Are you sure you are looking for version 9? This is for Office 2000.