C# -Excel interoperability

后端 未结 6 2088
广开言路
广开言路 2021-02-04 00:36

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         


        
6条回答
  •  被撕碎了的回忆
    2021-02-04 01:08

    Here is a blog post that deals with that. Looks like you need to change

    Microsoft.Office.Interop.Excel.ApplicationClass();
    

    to

    Microsoft.Office.Interop.Excel.Application();
    

提交回复
热议问题