title: Downloaded xlsx file using exceljs and nodejs is opening in libreOffice but shows corrupt in excel 2007
body: <p>This is my code. It creates a xlsx file which is opening in libreoffice but shows corrupt in excel-2007</p>
  
  <p>also workbook.xlsx.write(response) downloads .zip file</p>
  
  <p>Please help.</p>
  
  <pre><code>var Excel = require("exceljs");
  var express = require("express");
  var bodyParser = require("body-parser");
  
  var app = express();
  
  app.use(bodyParser.urlencoded({ extended: false }));
  
  app.use(bodyParser.json());
  
  app.all("/getExcel", function(req, res) {
  
  var workbook = new Excel.Workbook();
  var worksheet = workbook.addWorksheet("Discography");
  
  worksheet.columns = [{ header: "Album", key: "album" }, { header: "Year", key: "year" }];
  
  worksheet.addRow({ album: "Taylor Swift", year: 2006 });
  
  worksheet.addRow(["Fearless", 2008]);
  
  var rows = [["Speak Now", 2010], { album: "Red", year: 2012 }];
  worksheet.addRows(rows);
  
  worksheet.getCell("A6").value = "1989";
  worksheet.getCell("B6").value = 2014;
  
  workbook.xlsx.writeFile('taylor_swift.xlsx').then(fenter code hereunction() {
  console.log("saved");
  });
  });
  </code></pre>