I am trying to open an Excel file and populate its cells with data? I have done the following coding so far.
Currently I am at this stage with the following code but
Simple.
To open a workbook. Use xlapp.workbooks.Open()
where you have previously declared and instanitated xlapp as so.. Excel.Application xlapp = new Excel.Applicaton();
parameters are correct.
Next make sure you use the property Value2 when assigning a value to the cell using either the cells property or the range object.