I had developed a system that deals with excel sheets in 2006 using MS VS 2005. Now, I can not use the same reference with MS VS 2012.
var app = new Microso
You can also try installing it in Visual Studio via Package Manager.
Run Install-Package Microsoft.Office.Interop.Excel in the Package Console. This will automatically add it as a project reference.
Install-Package Microsoft.Office.Interop.Excel
Use is like this:
Using Excel=Microsoft.Office.Interop.Excel;