当我宣布时,
Microsoft.Office.Interop.Excel.ApplicationClass excel =
new Microsoft.Office.Interop.Excel.ApplicationClass();
Run Code Online (Sandbox Code Playgroud)
我收到的错误是
无法嵌入"Microsoft.Office.Interop.Outlook.ApplicationClass".请改用适用的界面.
和
类型'Microsoft.Office.Interop.Outlook.ApplicationClass'没有定义构造函数
解决办法是什么?