HRESULT: 0x800A03EC on Worksheet.range

前端 未结 23 2088
Happy的楠姐
Happy的楠姐 2020-11-22 07:42

I am getting HRESULT: 0x800A03EC on Worksheet.range method. Number of rows are more than 70K. Office 2007.

Code:

Microsoft.Office.Interop.Excel.Range         


        
23条回答
  •  有刺的猬
    2020-11-22 08:34

    Simply, the excel file is corrupt. Best solution is change/repair the file.(make a copy of the existing file and rename it)

提交回复
热议问题