I am creating a new Excel work in C# however the action of saving As is taking for too long time (couple of minutes) the excel size I am creating is about 4MB
is there a way to speed it up?
Microsoft.Office.Interop.Excel.Workbook xlWorkBook = xlApp.Workbooks.Add("");
logic for creating the new WorkBook....
Microsoft.Office.Interop.Excel.Worksheet xlWorkSheet = xlWorkBook.Worksheets.Add();
//xlWorkBook.Worksheets.get_Item(1);
xlWorkBook.SaveAs(_pathExcel,Microsoft.Office.Interop.Excel.XlFileFormat.xlWorkbookNormal, System.Reflection.Missing.Value, System.Reflection.Missing.Value, false, false, Microsoft.Office.Interop.Excel.XlSaveAsAccessMode.xlShared, false, false, System.Reflection.Missing.Value, System.Reflection.Missing.Value, System.Reflection.Missing.Value);
xlWorkBook.Close(true);
xlApp.Quit();