Hi Simon,
Here is a minimal sample that shows you "How to export the formula cells in a grid to excel?". Please refer to the attached sample for implementation and let me know if you are trying something different.
Sample :
ExportFormulasInGDBG.zipBest Regards,
Haneef