I am exporting a 1200 X 800 matrix (indexMatrix) to a excel file using the standard Microsoft.Office.Interop.Excel. The app works, just that it is really really really slow(
There are three ways to do this, 2 of which are mentioned in different answers by others:
All the three methods above are very fast. I could write data with a size of 90000 rows and 100 columns in around 6 seconds.
P.S. They didn't however solve my problem with formatting the data for borders, font styles, colors, cell merging etc.