minor changes
This commit is contained in:
@@ -172,7 +172,6 @@ async function splitExcelFile(inputFile) {
|
|||||||
await workbook.xlsx.readFile(inputFile);
|
await workbook.xlsx.readFile(inputFile);
|
||||||
const worksheet = workbook.getWorksheet(1);
|
const worksheet = workbook.getWorksheet(1);
|
||||||
|
|
||||||
const headerRow = worksheet.getRow(1).actualCellCount; //number of columns of the table
|
|
||||||
numRows = (worksheet.actualRowCount) - 1; // since it counts the row that represents the header, I need to subtract -1
|
numRows = (worksheet.actualRowCount) - 1; // since it counts the row that represents the header, I need to subtract -1
|
||||||
// to get the actual number of rows that contains the data
|
// to get the actual number of rows that contains the data
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user