Opening a huge .csv file with Excel Interop using C#

Posted by user262102 on Stack Overflow See other posts from Stack Overflow or by user262102
Published on 2010-04-26T21:09:06Z Indexed on 2010/04/26 21:13 UTC
Read the original article Hit count: 301

Filed under:
|
|

Hi, I have an application that write huge .csv files about the size ranging from 1 GB to 2 GB.

I need to color code the file and save it as .xlsx.

So I have tried using Excel Interop and it works great for small files, but when I try to open a 1.3 GB .csv file with Excel, I get an Hresult error.

Any ideas as to how I could accomplish this task either with using Excel, or if there is any other way of doing it.

Thanks!

© Stack Overflow or respective owner

Related posts about c#

Related posts about excel