This problem completely puzzled me.
I have an Excel document that loads in order. It has rows, columns and data, and I want to iterate over rows. But EPPLus is strange.
I take the second line:
ExcelRange range1 = worksheet.Cells[2, worksheet.Dimension.Start.Column, 2, worksheet.Dimension.End.Column];
Which gives me {A2:D2} Splendid! so far so good, but then I want the first cell of the row:
ExcelRange range2 = range1[1,1];
Which gives me {A1} and degrade matter, the value of range1 also changed to {A1} instead of the selected line.
How can I solve this problem and take ExcelRange from ExcelRange?
This completely puzzles me .... thanks for anyhelp
source share