natergj / excel4node

Node module to allow for easy Excel file creation
MIT License
1.38k stars 215 forks source link

how to append rows to a existing file? #241

Open zzzgit opened 6 years ago

zzzgit commented 6 years ago

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

pkolawa commented 6 years ago

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

zzzgit commented 6 years ago

yes the same structure

pkolawa commented 6 years ago

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.

abdias-alvarado commented 4 years ago

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