Exemplo n.º 1
0
 private void CreateExcel(IExcel excelApp, string filePath)
 {
     if (File.Exists(filePath))
     {
         File.Delete(filePath);
     }
     excelApp.CreateExcel(filePath);
     // AddNewSheet(filePath);
 }