I am parsing some data into a Excel sheet and I am generating 3 Excel sheets (Compliance1.xls, Compliance2.xls, Compliance3.xls) by using the below code:
owb.SaveAs(Input_File+@"\Compliance1.xls",
Microsoft.Office.Interop.Excel.XlFileFormat.xlWorkbookNormal,
Type.Missing, Type.Missing, false, false,
Microsoft.Office.Interop.Excel.XlSaveAsAccessMode.xlNoChange
Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);
I want one Excel file to be generated with 3 of compliance sheets in it.