写入excel失败

zhouguoke 1月前 96

excel 版本是excel 2019

错误报

“17:10:55 [错误] 打开/新建失败。详细错误信息:Unable to cast COM object of type 'Microsoft.Office.Interop.Excel.ApplicationClass' to interface type 'Microsoft.Office.Interop.Excel._Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{000208D5-0000-0000-C000-000000000046}' failed due to the following error: 库没有注册。 (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).”


最新回复 (1)
  • 0 引用 2
    你好,请参考这个链接:https://www.cnblogs.com/suntime/p/8085929.html
    1月前 回复
返回