diff --git a/Source/CrystalReportsNinja/ReportProcessor.cs b/Source/CrystalReportsNinja/ReportProcessor.cs index fa96d58..d8607de 100644 --- a/Source/CrystalReportsNinja/ReportProcessor.cs +++ b/Source/CrystalReportsNinja/ReportProcessor.cs @@ -221,6 +221,8 @@ private void ApplyReportOutput() _reportDoc.ExportOptions.ExportFormatType = ExportFormatType.WordForWindows; else if (_outputFormat.ToUpper() == "XLS") _reportDoc.ExportOptions.ExportFormatType = ExportFormatType.Excel; + else if (_outputFormat.ToUpper() == "XLSX") + _reportDoc.ExportOptions.ExportFormatType = ExportFormatType.ExcelWorkbook; else if (_outputFormat.ToUpper() == "XLSDATA") _reportDoc.ExportOptions.ExportFormatType = ExportFormatType.ExcelRecord; else if (_outputFormat.ToUpper() == "ERTF")