Excel Export
jerome
France
Hi!
I've got troubles using the excel export in the code! I'm currently doing this :
The report is not null and well prepared.
But nothing appears! I can not use the Excel 2007 Export feature 'cause I need my xls (or xml) files to be read on Excel 2003.
I think something is missing in the parameters of the export, but which ones?
Thanks
I've got troubles using the excel export in the code! I'm currently doing this :
Report report = PrepareMyReport();
FastReport.Export.OoXML.OOExportBase export = new FastReport.Export.OoXML.OOExportBase();
if (report != null) {
if (report.Prepare()) {
export.SetReport(report);
export.OpenAfterExport = false;
export.PageRange = FastReport.PageRange.All;
export.AllowOpenAfter = true;
export.OpenAfterExport = true;
MemoryStream ExcelSheet = new MemoryStream();
report.Export(export, ExcelSheet);
}
}
The report is not null and well prepared.
But nothing appears! I can not use the Excel 2007 Export feature 'cause I need my xls (or xml) files to be read on Excel 2003.
I think something is missing in the parameters of the export, but which ones?
Thanks
Comments
Thanks, that helped a lot