excel.js icon indicating copy to clipboard operation
excel.js copied to clipboard

changes are not reflected in file

Open swati8 opened this issue 8 years ago • 1 comments

I am trying to write (also update) in an excel file. But, the values are not updating in the file. Can you please help

My code is :

workbook.xlsx.readFile("DumyExcelFile.xlsx").then(function () { var worksheet = workbook.getWorksheet('Sheet1'); var row = worksheet.getRow(6); console.log(row.getCell(1).value); row.getCell(1).value = 5; row.getCell(2).value = 10; worksheet.getRow(6).commit(); console.log(row.getCell(1).value,row.getCell(2).value); });

Can you please guide me.

swati8 avatar Mar 09 '17 07:03 swati8

I need a little bit more of info here. What modules does workbook come from? I don't see in the code where excel is being used.

clickclickonsal avatar Jul 17 '17 01:07 clickclickonsal