Hi Jeff,
Yes. Essential Studio v6.3.0.6 support export to Excel 2007. To convert the grid content to an Excel 2007, you have to explicitly set the ExcelVersion by creating an XlsIO application and exporting the grid contents to its sheet. See the code:
ExcelEngine engine = new ExcelEngine();
IApplication app = engine.Excel.Application;
app.DefaultVersion = ExcelVersion.Excel2007;
IWorkbook book = app.Workbooks.Create();
GroupingGridExcelConverterControl gecc = new GroupingGridExcelConverterControl();
SaveFileDialog saveFileDialog = new SaveFileDialog();
saveFileDialog.Filter = 'Files(*.xlsx)|*.xlsx';
saveFileDialog.DefaultExt = '.xlsx';
if (saveFileDialog.ShowDialog() == DialogResult.OK)
{
gecc.GroupingGridToExcel(this.gridGroupingControl1, book.Worksheets[0], ConverterOptions.Visible);
book.SaveAs(saveFileDialog.FileName);
if (MessageBox.Show('Do you wish to open the xls file now?', 'Export to Excel', MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
Process proc = new Process();
proc.StartInfo.FileName = saveFileDialog.FileName;
proc.Start();
}
}
Sample for your reference:
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=ExcelExport833503208.zipPlease let me know if this helps.
Regards,
Jisha