I'm am working in c# with Excel files, using Microsoft.Office.Interop.Excel. My problem is that my program runs very slow. Basically, what it does is to iterate through the cells of an Excel sheet, and read the data in each one of the cells.
I use the following command:
value = (range.Cells[row, col] as Excel.Range).Value2;
where value is my variable, and range is an Interop.Excel object of the Range class.
Is there a beter way in Interop to access an access file , or another library which I should use?