Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the interest of exporting large files with multiple sheets over iterations, it would be useful to open existing sheets rather than always creating new ones.
Comment | File | Size | Author |
---|---|---|---|
#2 | phpexcel-open_existing_sheets-2577959-1.patch | 3.22 KB | nerdacus |
Comments
Comment #2
nerdacus CreditAttribution: nerdacus at Metal Toad commentedPatch.
Comment #3
eeg CreditAttribution: eeg commented+1 from me for this feature. This is also useful, if you're using a template with multiple sheets. That was my reason to write a similar patch, which was opening existing sheets too, but by index not by name. I've now switched to using this patch instead. Maybe using the sheet index instead of the name could be added as an option.
Comment #5
wadmiraal CreditAttribution: wadmiraal at educa.ch commentedThanks for the patch. It would be nice to have a unit test for this as well. Do you think you could add some? Just look at tests/phpexcel.test for some examples.
I've committed your patch anyway, though. It's on dev.