I want to call Excel Sheet from C# 4.0 (VS 2010 Express Edition) .
When i declare ,
Microsoft.Office.Interop.Excel.ApplicationClass excel = new Micro
Solved:
Excel.ApplicationClass derives from Excel.Application interface and one can even instantiate Excel using Excel.Application interface. Rewriting this code as below produces exact same results:
Excel.ApplicationClass
Excel.Application
Excel.Application xlapp = new Excel.Application();