I am getting HRESULT: 0x800A03EC on Worksheet.range method. Number of rows are more than 70K. Office 2007.
Code:
Microsoft.Office.Interop.Excel.Range neededRange
= currentWS.Range[cell.Cells[1, 1], cell.Cells[nRowCount, nColumnCount]];
Here my rowcount is more than 65530 . Breaks on this function. I have observed that it breaks only when row count goes more than 65530.
Just FYI, got the error trying to apply row style....