Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changes are not reflected in file #48

Open
swati8 opened this issue Mar 9, 2017 · 1 comment
Open

changes are not reflected in file #48

swati8 opened this issue Mar 9, 2017 · 1 comment

Comments

@swati8
Copy link

swati8 commented Mar 9, 2017

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.

@clickclickonsal
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants