Add a reference to the Infragistics.Win.UltraWinGrid.ExcelExport assembly to your project, and use the UltraGridExcelExporter component's Export method.