How does the code should look like to get cell A1 value from the file "C:\1.xlsx"? I tried numbers of examples but still didn't managed to get it work.
var Excel = require('exceljs');
var workbook = new Excel.Workbook();
workbook.xlsx.readFile("C:\1.xlsx")
.then(function() {
var worksheet = workbook.getWorksheet('Sheet1');
var cell = worksheet.getCell('A1').value;
console.log(cell);
});
I see no errors, but it doesn't work.