HRESULT: 0x800A03EC on Worksheet.range

前端 未结 23 2657
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:23

    I resolved this issue by using the code below. Please do not use other parameters in these functions.

    mWorkBook = xlApp.Workbooks.Open(FilePath)
    
    mWorkBook.Save();
    

    RESOLVED

提交回复
热议问题