mk-j / PHP_XLSXWriter

Lightweight XLSX Excel Spreadsheet Writer in PHP
MIT License
1.84k stars 665 forks source link

Create multiple tables within one sheet #215

Closed lordterrin closed 1 year ago

lordterrin commented 6 years ago

First off - I've been using PHP_XLSXWriter for years and I absolutely love it. Thank you so much!

I've read through all of the documentation and cannot seem to find any way to create two separate tables within one spreadsheet.

I need to make a first table, with some "summary" information, then a second table 5 rows after the summary table ends, with more rows. Is this possible?

mk-j commented 1 year ago

$writer->writeSheetHeader('Sheet1', $header1); $writer->writeSheetRow('Sheet1', $row1 ); $writer->writeSheetHeader('Sheet1', $header2); $writer->writeSheetRow('Sheet1', $row2); This should be possible now.