문제

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:

  1. Microsoft Office
  2. 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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top