Copy rows with styles and structure from one xls to another one

Topics: User Forum
Nov 18, 2012 at 10:27 AM

Hello,

I want to copy rows with styles and structure from one xls to another one and I can not understand how to do it the best way. 

It is important to save not only the style, but also the structure of cells - merge cells, for example. 

Is it possible to do this?

Thank you for your attention, I will wait for a response :)

Coordinator
Nov 18, 2012 at 3:40 PM

You can copy an entire worksheet from one PHPExcel object to another using the addExternalSheet() of the PHPExcel object. This copies the worksheet with all its formatting and structure