We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
The text was updated successfully, but these errors were encountered:
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.
Sorry, something went wrong.
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: