I want to get the value of a cell from an excel file with a software in C#; NOT THE TEXT, because the text depend of the size of the column, and I must not change it myself,
I have often found codes a little more complex than needed all over. Basically reading a cell is as simple as:
Xl.Range rng = sheet.Cells[row, column] as Xl.Range; return rng.Value2;