Hi Phil,
Thank you for your interest in Syncfusion products.
I am afraid that I am unable to reproduce the mentioned issue in GridControl, when the GridControl formula cell value is exported to Excel.
I have created a simple sample to test this issue and it is available in the following link.
http://files.syncfusion.com/support/samples/Grid.Windows/7.3.0.20/Forums/GridFormulExport.zipIf you don't want to Export the formula in Excel, then please try using below way to achieve this functionality:
Syncfusion.GridExcelConverter.GridExcelConverterControl gecc = new Syncfusion.GridExcelConverter.GridExcelConverterControl();
// If you dont want to Export the Formula please try to use below event
gecc.QueryImportExportCellInfo += new Syncfusion.GridExcelConverter.GridImportExportCellInfoEventHandler(gecc_QueryImportExportCellInfo);
void gecc_QueryImportExportCellInfo(object sender, Syncfusion.GridExcelConverter.GridImportExportCellInfoEventArgs e)
{
if (e.GridCell.CellType == "FormulaCell")
{
e.ExcelCell.Value = e.GridCell.FormattedText;
e.Handled = true;
}
}
Please let me know if you still face the issue, please try to reproduce the issue in above sample or send a reproducing sample, ti could be helpful for us to analyze the issue.
Regards,
Lingaraj S.