Erick Skrobot Erick Skrobot - 7 months ago 95
PHP Question

Clear spreadsheet using PHPExcel

How do I clear the sheet with PHPExcel? Something like Sheet.ClearContents in VBA.
All I could find was delete rows and columns and it's not useful for me as I need to clear entire sheet before writing data to the file.


You can remove the sheets and create a new one.