Data got corrupted and unable to open a excel file after i export to excel in angularNode writes corrupted .xlsx files after downloadExport to Excel on Angular 4Angular 5 open a excel fileangular material data table export to excelNodejs - TextWrap in cell while exporting data to excelDownloaded xlsx file using exceljs and nodejs is opening in libreOffice but shows corrupt in excel 2007Export to Excel on Angular 5Unable to export to excel whole grid data in kendo grid in angular 6export html table to excel Angular 6corrupted Excel xlsx when exporting

How invisible hand adjusts stock prices if company is listed on multiple exchanges, under multiple currencies, and one of the currencies plunges?

Why is it that I have to play this note on the piano as A sharp?

Strategies for dealing with chess burnout?

How to plot two curves with the same area under?

st_isvalid and duplicate vertex

Furthest distance half the diameter?

Why is infinite intersection "towards infinity" an empty set?

Is it right to use the ideas of non-winning designers in a design contest?

How to improvise or make pot grip / pot handle

What explains the Genie's fate?

Word for something that used to be popular but not anymore

Why does 8 bit truecolor use only 2 bits for blue?

I multiply the source, you (probably) multiply the output!

Extra arrow heads appearing tikz

Are personality traits, ideals, bonds, and flaws required?

Short story: Interstellar inspector senses "off" nature of planet hiding aggressive culture

Colorize specific region in plane

How would two worlds first establish an exchange rate between their currencies

More than three domains hosted on the same IP address

Can you pop microwave popcorn on a stove?

How do we create our own symbolisms?

What makes things real?

Why does low tire pressure decrease fuel economy?

How do English-speaking kids loudly request something?



Data got corrupted and unable to open a excel file after i export to excel in angular


Node writes corrupted .xlsx files after downloadExport to Excel on Angular 4Angular 5 open a excel fileangular material data table export to excelNodejs - TextWrap in cell while exporting data to excelDownloaded xlsx file using exceljs and nodejs is opening in libreOffice but shows corrupt in excel 2007Export to Excel on Angular 5Unable to export to excel whole grid data in kendo grid in angular 6export html table to excel Angular 6corrupted Excel xlsx when exporting






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















Able to to export an excel file in angular using exceljs and filesaver.
But when i open a file nothing was displayed . I am using excel 2013. Since i want to format the data and make the alignment during export im using exceljs.



Performed npm install and imported like this for exceljs and filesaver below



 import * as Excel from "exceljs/dist/exceljs.min.js";
import * as ExcelProper from "exceljs";
import * as fs from 'file-saver';


generateExcel()

//Excel Title, Header, Data
const title = 'Car Sell Report';
const header = ["Year", "Month", "Make", "Model", "Quantity", "Pct"]
const data = [
[2007, 1, "Volkswagen ", "Volkswagen Passat", 1267, 10],
[2007, 1, "Toyota ", "Toyota Rav4", 819, 6.5],
[2007, 1, "Toyota ", "Toyota Avensis", 787, 6.2],
[2007, 1, "Volkswagen ", "Volkswagen Golf", 720, 5.7],
[2007, 1, "Toyota ", "Toyota Corolla", 691, 5.4],
[2007, 1, "Peugeot ", "Peugeot 307", 481, 3.8],
[2008, 1, "Toyota ", "Toyota Prius", 217, 2.2],
[2008, 1, "Skoda ", "Skoda Octavia", 216, 2.2],
[2008, 1, "Peugeot ", "Peugeot 308", 135, 1.4],
[2008, 2, "Ford ", "Ford Mondeo", 624, 5.9],
[2008, 2, "Volkswagen ", "Volkswagen Passat", 551, 5.2],
[2008, 2, "Volkswagen ", "Volkswagen Golf", 488, 4.6],
[2008, 2, "Volvo ", "Volvo V70", 392, 3.7],
[2008, 2, "Toyota ", "Toyota Auris", 342, 3.2],
[2008, 2, "Volkswagen ", "Volkswagen Tiguan", 340, 3.2],
[2008, 2, "Toyota ", "Toyota Avensis", 315, 3],
[2008, 2, "Nissan ", "Nissan Qashqai", 272, 2.6],
[2008, 2, "Nissan ", "Nissan X-Trail", 271, 2.6],
[2008, 2, "Mitsubishi ", "Mitsubishi Outlander", 257, 2.4],
[2008, 2, "Toyota ", "Toyota Rav4", 250, 2.4],
[2008, 2, "Ford ", "Ford Focus", 235, 2.2],
[2008, 2, "Skoda ", "Skoda Octavia", 225, 2.1],
[2008, 2, "Toyota ", "Toyota Yaris", 222, 2.1],
[2008, 2, "Honda ", "Honda CR-V", 219, 2.1],
[2008, 2, "Audi ", "Audi A4", 200, 1.9],
[2008, 2, "BMW ", "BMW 3-serie", 184, 1.7],
[2008, 2, "Toyota ", "Toyota Prius", 165, 1.6],
[2008, 2, "Peugeot ", "Peugeot 207", 144, 1.4]
];
//Create workbook and worksheet
let workbook: ExcelProper.Workbook = new Excel.Workbook();
let worksheet = workbook.addWorksheet('Car Data');
//Add Row and formatting
let titleRow = worksheet.addRow([title]);
titleRow.font = name: 'Comic Sans MS', family: 4, size: 16, underline: 'double', bold: true
worksheet.addRow([]);
// let subTitleRow = worksheet.addRow(['Date : ' + this.datePipe.transform(new Date(), 'medium')])



worksheet.mergeCells('A1:D2');
//Blank Row
worksheet.addRow([]);
//Add Header Row
let headerRow = worksheet.addRow(header);

// Cell Style : Fill and Border
headerRow.eachCell((cell, number) =>
cell.fill =
type: 'pattern',
pattern: 'solid',
fgColor: argb: 'FFFFFF00' ,
bgColor: argb: 'FF0000FF'

cell.border = top: style: 'thin' , left: style: 'thin' , bottom: style: 'thin' , right: style: 'thin'
)
// worksheet.addRows(data);
// Add Data and Conditional Formatting
data.forEach(d =>
let row = worksheet.addRow(d);
let qty = row.getCell(5);
let color = 'FF99FF99';
if (+qty.value < 500)
color = 'FF9999'

qty.fill =
type: 'pattern',
pattern: 'solid',
fgColor: argb: color


);



worksheet.getColumn(3).width = 30;
worksheet.getColumn(4).width = 30;
worksheet.addRow([]);
//Footer Row
let footerRow = worksheet.addRow(['This is system generated excel sheet.']);
footerRow.getCell(1).fill =
type: 'pattern',
pattern: 'solid',
fgColor: argb: 'FFCCFFE5'
;
footerRow.getCell(1).border = top: style: 'thin' , left: style: 'thin' , bottom: style: 'thin' , right: style: 'thin'
//Merge Cells
worksheet.mergeCells(`A$footerRow.number:F$footerRow.number`);
//Generate Excel File with given name
workbook.xlsx.writeBuffer().then((data: any) =>
let blob = new Blob([data], type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" );
fs.saveAs(blob, 'CarData.xlsx');
)











share|improve this question
































    1















    Able to to export an excel file in angular using exceljs and filesaver.
    But when i open a file nothing was displayed . I am using excel 2013. Since i want to format the data and make the alignment during export im using exceljs.



    Performed npm install and imported like this for exceljs and filesaver below



     import * as Excel from "exceljs/dist/exceljs.min.js";
    import * as ExcelProper from "exceljs";
    import * as fs from 'file-saver';


    generateExcel()

    //Excel Title, Header, Data
    const title = 'Car Sell Report';
    const header = ["Year", "Month", "Make", "Model", "Quantity", "Pct"]
    const data = [
    [2007, 1, "Volkswagen ", "Volkswagen Passat", 1267, 10],
    [2007, 1, "Toyota ", "Toyota Rav4", 819, 6.5],
    [2007, 1, "Toyota ", "Toyota Avensis", 787, 6.2],
    [2007, 1, "Volkswagen ", "Volkswagen Golf", 720, 5.7],
    [2007, 1, "Toyota ", "Toyota Corolla", 691, 5.4],
    [2007, 1, "Peugeot ", "Peugeot 307", 481, 3.8],
    [2008, 1, "Toyota ", "Toyota Prius", 217, 2.2],
    [2008, 1, "Skoda ", "Skoda Octavia", 216, 2.2],
    [2008, 1, "Peugeot ", "Peugeot 308", 135, 1.4],
    [2008, 2, "Ford ", "Ford Mondeo", 624, 5.9],
    [2008, 2, "Volkswagen ", "Volkswagen Passat", 551, 5.2],
    [2008, 2, "Volkswagen ", "Volkswagen Golf", 488, 4.6],
    [2008, 2, "Volvo ", "Volvo V70", 392, 3.7],
    [2008, 2, "Toyota ", "Toyota Auris", 342, 3.2],
    [2008, 2, "Volkswagen ", "Volkswagen Tiguan", 340, 3.2],
    [2008, 2, "Toyota ", "Toyota Avensis", 315, 3],
    [2008, 2, "Nissan ", "Nissan Qashqai", 272, 2.6],
    [2008, 2, "Nissan ", "Nissan X-Trail", 271, 2.6],
    [2008, 2, "Mitsubishi ", "Mitsubishi Outlander", 257, 2.4],
    [2008, 2, "Toyota ", "Toyota Rav4", 250, 2.4],
    [2008, 2, "Ford ", "Ford Focus", 235, 2.2],
    [2008, 2, "Skoda ", "Skoda Octavia", 225, 2.1],
    [2008, 2, "Toyota ", "Toyota Yaris", 222, 2.1],
    [2008, 2, "Honda ", "Honda CR-V", 219, 2.1],
    [2008, 2, "Audi ", "Audi A4", 200, 1.9],
    [2008, 2, "BMW ", "BMW 3-serie", 184, 1.7],
    [2008, 2, "Toyota ", "Toyota Prius", 165, 1.6],
    [2008, 2, "Peugeot ", "Peugeot 207", 144, 1.4]
    ];
    //Create workbook and worksheet
    let workbook: ExcelProper.Workbook = new Excel.Workbook();
    let worksheet = workbook.addWorksheet('Car Data');
    //Add Row and formatting
    let titleRow = worksheet.addRow([title]);
    titleRow.font = name: 'Comic Sans MS', family: 4, size: 16, underline: 'double', bold: true
    worksheet.addRow([]);
    // let subTitleRow = worksheet.addRow(['Date : ' + this.datePipe.transform(new Date(), 'medium')])



    worksheet.mergeCells('A1:D2');
    //Blank Row
    worksheet.addRow([]);
    //Add Header Row
    let headerRow = worksheet.addRow(header);

    // Cell Style : Fill and Border
    headerRow.eachCell((cell, number) =>
    cell.fill =
    type: 'pattern',
    pattern: 'solid',
    fgColor: argb: 'FFFFFF00' ,
    bgColor: argb: 'FF0000FF'

    cell.border = top: style: 'thin' , left: style: 'thin' , bottom: style: 'thin' , right: style: 'thin'
    )
    // worksheet.addRows(data);
    // Add Data and Conditional Formatting
    data.forEach(d =>
    let row = worksheet.addRow(d);
    let qty = row.getCell(5);
    let color = 'FF99FF99';
    if (+qty.value < 500)
    color = 'FF9999'

    qty.fill =
    type: 'pattern',
    pattern: 'solid',
    fgColor: argb: color


    );



    worksheet.getColumn(3).width = 30;
    worksheet.getColumn(4).width = 30;
    worksheet.addRow([]);
    //Footer Row
    let footerRow = worksheet.addRow(['This is system generated excel sheet.']);
    footerRow.getCell(1).fill =
    type: 'pattern',
    pattern: 'solid',
    fgColor: argb: 'FFCCFFE5'
    ;
    footerRow.getCell(1).border = top: style: 'thin' , left: style: 'thin' , bottom: style: 'thin' , right: style: 'thin'
    //Merge Cells
    worksheet.mergeCells(`A$footerRow.number:F$footerRow.number`);
    //Generate Excel File with given name
    workbook.xlsx.writeBuffer().then((data: any) =>
    let blob = new Blob([data], type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" );
    fs.saveAs(blob, 'CarData.xlsx');
    )











    share|improve this question




























      1












      1








      1








      Able to to export an excel file in angular using exceljs and filesaver.
      But when i open a file nothing was displayed . I am using excel 2013. Since i want to format the data and make the alignment during export im using exceljs.



      Performed npm install and imported like this for exceljs and filesaver below



       import * as Excel from "exceljs/dist/exceljs.min.js";
      import * as ExcelProper from "exceljs";
      import * as fs from 'file-saver';


      generateExcel()

      //Excel Title, Header, Data
      const title = 'Car Sell Report';
      const header = ["Year", "Month", "Make", "Model", "Quantity", "Pct"]
      const data = [
      [2007, 1, "Volkswagen ", "Volkswagen Passat", 1267, 10],
      [2007, 1, "Toyota ", "Toyota Rav4", 819, 6.5],
      [2007, 1, "Toyota ", "Toyota Avensis", 787, 6.2],
      [2007, 1, "Volkswagen ", "Volkswagen Golf", 720, 5.7],
      [2007, 1, "Toyota ", "Toyota Corolla", 691, 5.4],
      [2007, 1, "Peugeot ", "Peugeot 307", 481, 3.8],
      [2008, 1, "Toyota ", "Toyota Prius", 217, 2.2],
      [2008, 1, "Skoda ", "Skoda Octavia", 216, 2.2],
      [2008, 1, "Peugeot ", "Peugeot 308", 135, 1.4],
      [2008, 2, "Ford ", "Ford Mondeo", 624, 5.9],
      [2008, 2, "Volkswagen ", "Volkswagen Passat", 551, 5.2],
      [2008, 2, "Volkswagen ", "Volkswagen Golf", 488, 4.6],
      [2008, 2, "Volvo ", "Volvo V70", 392, 3.7],
      [2008, 2, "Toyota ", "Toyota Auris", 342, 3.2],
      [2008, 2, "Volkswagen ", "Volkswagen Tiguan", 340, 3.2],
      [2008, 2, "Toyota ", "Toyota Avensis", 315, 3],
      [2008, 2, "Nissan ", "Nissan Qashqai", 272, 2.6],
      [2008, 2, "Nissan ", "Nissan X-Trail", 271, 2.6],
      [2008, 2, "Mitsubishi ", "Mitsubishi Outlander", 257, 2.4],
      [2008, 2, "Toyota ", "Toyota Rav4", 250, 2.4],
      [2008, 2, "Ford ", "Ford Focus", 235, 2.2],
      [2008, 2, "Skoda ", "Skoda Octavia", 225, 2.1],
      [2008, 2, "Toyota ", "Toyota Yaris", 222, 2.1],
      [2008, 2, "Honda ", "Honda CR-V", 219, 2.1],
      [2008, 2, "Audi ", "Audi A4", 200, 1.9],
      [2008, 2, "BMW ", "BMW 3-serie", 184, 1.7],
      [2008, 2, "Toyota ", "Toyota Prius", 165, 1.6],
      [2008, 2, "Peugeot ", "Peugeot 207", 144, 1.4]
      ];
      //Create workbook and worksheet
      let workbook: ExcelProper.Workbook = new Excel.Workbook();
      let worksheet = workbook.addWorksheet('Car Data');
      //Add Row and formatting
      let titleRow = worksheet.addRow([title]);
      titleRow.font = name: 'Comic Sans MS', family: 4, size: 16, underline: 'double', bold: true
      worksheet.addRow([]);
      // let subTitleRow = worksheet.addRow(['Date : ' + this.datePipe.transform(new Date(), 'medium')])



      worksheet.mergeCells('A1:D2');
      //Blank Row
      worksheet.addRow([]);
      //Add Header Row
      let headerRow = worksheet.addRow(header);

      // Cell Style : Fill and Border
      headerRow.eachCell((cell, number) =>
      cell.fill =
      type: 'pattern',
      pattern: 'solid',
      fgColor: argb: 'FFFFFF00' ,
      bgColor: argb: 'FF0000FF'

      cell.border = top: style: 'thin' , left: style: 'thin' , bottom: style: 'thin' , right: style: 'thin'
      )
      // worksheet.addRows(data);
      // Add Data and Conditional Formatting
      data.forEach(d =>
      let row = worksheet.addRow(d);
      let qty = row.getCell(5);
      let color = 'FF99FF99';
      if (+qty.value < 500)
      color = 'FF9999'

      qty.fill =
      type: 'pattern',
      pattern: 'solid',
      fgColor: argb: color


      );



      worksheet.getColumn(3).width = 30;
      worksheet.getColumn(4).width = 30;
      worksheet.addRow([]);
      //Footer Row
      let footerRow = worksheet.addRow(['This is system generated excel sheet.']);
      footerRow.getCell(1).fill =
      type: 'pattern',
      pattern: 'solid',
      fgColor: argb: 'FFCCFFE5'
      ;
      footerRow.getCell(1).border = top: style: 'thin' , left: style: 'thin' , bottom: style: 'thin' , right: style: 'thin'
      //Merge Cells
      worksheet.mergeCells(`A$footerRow.number:F$footerRow.number`);
      //Generate Excel File with given name
      workbook.xlsx.writeBuffer().then((data: any) =>
      let blob = new Blob([data], type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" );
      fs.saveAs(blob, 'CarData.xlsx');
      )











      share|improve this question
















      Able to to export an excel file in angular using exceljs and filesaver.
      But when i open a file nothing was displayed . I am using excel 2013. Since i want to format the data and make the alignment during export im using exceljs.



      Performed npm install and imported like this for exceljs and filesaver below



       import * as Excel from "exceljs/dist/exceljs.min.js";
      import * as ExcelProper from "exceljs";
      import * as fs from 'file-saver';


      generateExcel()

      //Excel Title, Header, Data
      const title = 'Car Sell Report';
      const header = ["Year", "Month", "Make", "Model", "Quantity", "Pct"]
      const data = [
      [2007, 1, "Volkswagen ", "Volkswagen Passat", 1267, 10],
      [2007, 1, "Toyota ", "Toyota Rav4", 819, 6.5],
      [2007, 1, "Toyota ", "Toyota Avensis", 787, 6.2],
      [2007, 1, "Volkswagen ", "Volkswagen Golf", 720, 5.7],
      [2007, 1, "Toyota ", "Toyota Corolla", 691, 5.4],
      [2007, 1, "Peugeot ", "Peugeot 307", 481, 3.8],
      [2008, 1, "Toyota ", "Toyota Prius", 217, 2.2],
      [2008, 1, "Skoda ", "Skoda Octavia", 216, 2.2],
      [2008, 1, "Peugeot ", "Peugeot 308", 135, 1.4],
      [2008, 2, "Ford ", "Ford Mondeo", 624, 5.9],
      [2008, 2, "Volkswagen ", "Volkswagen Passat", 551, 5.2],
      [2008, 2, "Volkswagen ", "Volkswagen Golf", 488, 4.6],
      [2008, 2, "Volvo ", "Volvo V70", 392, 3.7],
      [2008, 2, "Toyota ", "Toyota Auris", 342, 3.2],
      [2008, 2, "Volkswagen ", "Volkswagen Tiguan", 340, 3.2],
      [2008, 2, "Toyota ", "Toyota Avensis", 315, 3],
      [2008, 2, "Nissan ", "Nissan Qashqai", 272, 2.6],
      [2008, 2, "Nissan ", "Nissan X-Trail", 271, 2.6],
      [2008, 2, "Mitsubishi ", "Mitsubishi Outlander", 257, 2.4],
      [2008, 2, "Toyota ", "Toyota Rav4", 250, 2.4],
      [2008, 2, "Ford ", "Ford Focus", 235, 2.2],
      [2008, 2, "Skoda ", "Skoda Octavia", 225, 2.1],
      [2008, 2, "Toyota ", "Toyota Yaris", 222, 2.1],
      [2008, 2, "Honda ", "Honda CR-V", 219, 2.1],
      [2008, 2, "Audi ", "Audi A4", 200, 1.9],
      [2008, 2, "BMW ", "BMW 3-serie", 184, 1.7],
      [2008, 2, "Toyota ", "Toyota Prius", 165, 1.6],
      [2008, 2, "Peugeot ", "Peugeot 207", 144, 1.4]
      ];
      //Create workbook and worksheet
      let workbook: ExcelProper.Workbook = new Excel.Workbook();
      let worksheet = workbook.addWorksheet('Car Data');
      //Add Row and formatting
      let titleRow = worksheet.addRow([title]);
      titleRow.font = name: 'Comic Sans MS', family: 4, size: 16, underline: 'double', bold: true
      worksheet.addRow([]);
      // let subTitleRow = worksheet.addRow(['Date : ' + this.datePipe.transform(new Date(), 'medium')])



      worksheet.mergeCells('A1:D2');
      //Blank Row
      worksheet.addRow([]);
      //Add Header Row
      let headerRow = worksheet.addRow(header);

      // Cell Style : Fill and Border
      headerRow.eachCell((cell, number) =>
      cell.fill =
      type: 'pattern',
      pattern: 'solid',
      fgColor: argb: 'FFFFFF00' ,
      bgColor: argb: 'FF0000FF'

      cell.border = top: style: 'thin' , left: style: 'thin' , bottom: style: 'thin' , right: style: 'thin'
      )
      // worksheet.addRows(data);
      // Add Data and Conditional Formatting
      data.forEach(d =>
      let row = worksheet.addRow(d);
      let qty = row.getCell(5);
      let color = 'FF99FF99';
      if (+qty.value < 500)
      color = 'FF9999'

      qty.fill =
      type: 'pattern',
      pattern: 'solid',
      fgColor: argb: color


      );



      worksheet.getColumn(3).width = 30;
      worksheet.getColumn(4).width = 30;
      worksheet.addRow([]);
      //Footer Row
      let footerRow = worksheet.addRow(['This is system generated excel sheet.']);
      footerRow.getCell(1).fill =
      type: 'pattern',
      pattern: 'solid',
      fgColor: argb: 'FFCCFFE5'
      ;
      footerRow.getCell(1).border = top: style: 'thin' , left: style: 'thin' , bottom: style: 'thin' , right: style: 'thin'
      //Merge Cells
      worksheet.mergeCells(`A$footerRow.number:F$footerRow.number`);
      //Generate Excel File with given name
      workbook.xlsx.writeBuffer().then((data: any) =>
      let blob = new Blob([data], type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" );
      fs.saveAs(blob, 'CarData.xlsx');
      )








      angular exceljs






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 28 at 11:41









      Abhishek Kumar

      1,6334 silver badges18 bronze badges




      1,6334 silver badges18 bronze badges










      asked Mar 28 at 6:58









      varun bvarun b

      162 bronze badges




      162 bronze badges

























          0






          active

          oldest

          votes










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );














          draft saved

          draft discarded
















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55391780%2fdata-got-corrupted-and-unable-to-open-a-excel-file-after-i-export-to-excel-in-an%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.




















          draft saved

          draft discarded















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55391780%2fdata-got-corrupted-and-unable-to-open-a-excel-file-after-i-export-to-excel-in-an%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript