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
445
Facing problem reading formula attached cells
posted

I am using Infragistic 10.2 and reading excel file using Infragistic.excel

1) To read formula attached to a cell.

 Below is the code for reading :

Workbook workbook1 = Workbook.Load("filename.xls");

Infragistics.Documents.Excel.Worksheet worksheet = workBook.Worksheets["DifferentFormats"];

string aValue;

for (int i = 0; i < 8; i++)
{

aValue = worksheet.Rows[i].Cells[1].value;

}

aValue is reading =T("1299") whereas it has to read 1299 and ignore formula applied to that cell.

Searched on infragistic site and found to use "GetText" property but in version of infragistic to able to find this property.

Due to some restrictions , can't upgrade infragistic version . Can any one suggest any solution for this problem or any sample of code which can read such values.

Please need solution on urgent basis.

Parents Reply Children
No Data