excel4node icon indicating copy to clipboard operation
excel4node copied to clipboard

how to append rows to a existing file?

Open zzzgit opened this issue 6 years ago • 4 comments

I want to append some rows to an already existed file, is it possible?

zzzgit avatar Oct 01 '18 06:10 zzzgit

It is, but it depends on how your data in worksheet is structured. Does every column has exactly the same number of rows filled?

pkolawa avatar Oct 10 '18 08:10 pkolawa

yes the same structure

zzzgit avatar Oct 10 '18 09:10 zzzgit

So you can add come counter to your code and store number or last filled row while you are processing current file. Since this library is able to save data to the Excel file, not read from them, there's no point of checking how many rows you have.

pkolawa avatar Oct 10 '18 17:10 pkolawa

Hi! But, how do I let excel4node know the file I'll modify?

abdias-alvarado avatar Nov 27 '19 15:11 abdias-alvarado