PHP Classes

add rows to existing file?

Recommend this page to a friend!

      Excel Writer  >  All threads  >  add rows to existing file?  >  (Un) Subscribe thread alerts  
Subject:add rows to existing file?
Summary:how can add rows to an existing file
Messages:4
Author:Sebastian Hunziker
Date:2006-12-26 20:21:16
Update:2008-12-25 10:20:22
 

  1. add rows to existing file?   Reply   Report abuse  
Picture of Sebastian Hunziker Sebastian Hunziker - 2006-12-26 20:21:16
with this class i could genereta a new file with new rows.
but if how can i do if i want to add rows to an existing file that it have rows without deleting existing rows?
sorry for my english.
i.e.
file example.xls:

first middle adress
juan adrian siempre viva 234

how to add row without deleting an existing row??


  2. Re: add rows to existing file?   Reply   Report abuse  
Picture of Mel Mel - 2007-05-31 00:21:01 - In reply to message 1 from Sebastian Hunziker
I would like to know how to do this as well.

  3. Re: add rows to existing file?   Reply   Report abuse  
Picture of Ana Paiva Ana Paiva - 2007-07-04 12:52:26 - In reply to message 2 from Mel
Hello,

I have the same problem too :(
Somebody can help ?

Thanks

Sofia

  4. Re: add rows to existing file?   Reply   Report abuse  
Picture of Gunter Grodotzki Gunter Grodotzki - 2008-12-25 10:20:22 - In reply to message 1 from Sebastian Hunziker
this is only an excel WRITER and _not_ reader. e.g I don't think it should support editing nor reading xls files.

Additionally you could encounter problems if you were trying to edit/add rows not generated by this class (due to different markup). Anywho, if you use this class as it is intended I don't think it should be a problem to "regenerate" the whole excel file again instead of adding bits and pieces :)