I am reading a cell value from excel using named range in my case sometime the column width is smaller then the value that is present in the cell and hence it is appearing as ##### when it is huge number.
when i read this from csharp it is reading as #####. Any fix for this
Sample code:
Excel.Application.get_Range(strRange, Type.Missing).Text.ToString() //If i make it
Excel.Application.get_Range(strRange, Type.Missing).Value2.ToString() //and read any date string i get 40390
Without having any code to read I would guess that you are reading a display string or similar, which Excel will update each time the row width varies.
You probably need to be reading a more raw value.