Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4155
Is there a way put data into Excel using array?
posted

I do not wish to enter data into Excel cell by cell.  Is there any way to enter the data by using an array?  Using Interop, I can do this:

object[,] data = new object[length, ColumnHeaders.Count];
...
dynamic rg = excelApp.Sheets[p].Range[excelApp.Sheets[p].Cells[top, left], excelApp.Sheets[p].Cells[bottom, right]];
rg.Value = data;

But I would like to use IG Excel, so that I do not have to have Excel installed alongside my application
Parents Reply Children
No Data