[C#]
//Step 1 : Instantiate the spreadsheet creation engine.
ExcelEngine excelEngine = new ExcelEngine();
//Step 2 : Instantiate the excel application object.
IApplication application = excelEngine.Excel;
//Open an existing spreadsheet
IWorkbook workbook = application.Workbooks.Open(@"..\..\VBATemplate.xls");
myWorkBook.Application.SkipOnSave = SkipExtRecords.Macros;
myWorkBook.Application.SkipOnSave = SkipExtRecords.Macros;
Hi Mangesh,
Sorry for the delay.
As you have created an
incident with similar query, the response for this query will be updated in
that incident. You can follow up the incident for further clarification
regarding this query.
Please let us know if you have any concerns.
Regards,
Ishwarya N