I’m running Visual Studio 2010 Express, and in C# I’m trying to display Excel workbook.
I’m trying to use
Microsoft.Office.Interop.Excel
I have office 2007. Why doesn’t this show up when I go to add> reference and navigate to the .NET or COM tabs?
Why doesn’t this show up?
How can I add this as a reference or is there a better to show a workbook to the user in Excel?
For whatever reason VS 2010 doesn’t like to show it in the .NET tab of the Add Reference window, you have to manually browse for it. The path to the assembly is
C:\Windows\assembly\Microsoft.Office.Interop.Excel.C:\windows\assemblyMicrosoft.Office.Interop.Excel