当我尝试创建新的工作簿时 发生异常: 来自HRESULT的异常:0x800A03EC 这是我的代码
Application app = new Application();
Workbook workbook = app.Workbooks.Add(System.Reflection.Missing.Value);
Worksheet worksheet = workbook.ActiveSheet;
第二行发生错误
Workbook workbook = app.Workbooks.Add(System.Reflection.Missing.Value);